Mercurial > hg > xemacs-beta
diff src/ntproc.c @ 357:4711e16a8e49 r21-1-8
Import from CVS: tag r21-1-8
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:57:04 +0200 |
parents | 7c94d56991e1 |
children | a4f53d9b3154 |
line wrap: on
line diff
--- a/src/ntproc.c Mon Aug 13 10:56:23 2007 +0200 +++ b/src/ntproc.c Mon Aug 13 10:57:04 2007 +0200 @@ -383,16 +383,8 @@ 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;