X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fxemacs-chise.git.1;a=blobdiff_plain;f=src%2Fntproc.c;h=1546a74203d9616019e7780c0a1e9d3813615841;hp=45a7db308930cde52e9bd42f682dd194e9be368c;hb=ea21eb75bbf90355514d65686bd53bea579f8e23;hpb=b73e352f264e9da0a00159dc29f318305cbe8636 diff --git a/src/ntproc.c b/src/ntproc.c index 45a7db3..1546a74 100644 --- 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; - /* 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 */ -#ifdef USE_UNION_TYPE - cp->pid = (cp->pid & ((1U << VALBITS) - 1)); -#else - cp->pid = (cp->pid & VALMASK); -#endif + *pPid = cp->pid;