projects
/
chise
/
xemacs-chise.git.1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
XEmacs 21.2.24 "Hecate".
[chise/xemacs-chise.git.1]
/
src
/
ntproc.c
diff --git
a/src/ntproc.c
b/src/ntproc.c
index
45a7db3
..
1546a74
100644
(file)
--- a/
src/ntproc.c
+++ b/
src/ntproc.c
@@
-445,16
+445,8
@@
create_child (CONST char *exe, char *cmdline, char *env,
cp->procinfo.hThread=NULL;
cp->procinfo.hProcess=NULL;
cp->procinfo.hThread=NULL;
cp->procinfo.hProcess=NULL;
- /* Hack for Windows 95, which assigns large (ie negative) pids */
- if (cp->pid < 0)
- cp->pid = -cp->pid;
-
/* pid must fit in a Lisp_Int */
/* pid must fit in a Lisp_Int */
-#ifdef USE_UNION_TYPE
- cp->pid = (cp->pid & ((1U << VALBITS) - 1));
-#else
- cp->pid = (cp->pid & VALMASK);
-#endif
+
*pPid = cp->pid;
*pPid = cp->pid;