Mercurial > hg > xemacs-beta
diff src/ntproc.c @ 272:c5d627a313b1 r21-0b34
Import from CVS: tag r21-0b34
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:28:48 +0200 |
parents | 727739f917cb |
children | ca9a9ec9c1c1 |
line wrap: on
line diff
--- a/src/ntproc.c Mon Aug 13 10:27:41 2007 +0200 +++ b/src/ntproc.c Mon Aug 13 10:28:48 2007 +0200 @@ -119,13 +119,13 @@ for (cp = child_procs+(child_proc_count-1); cp >= child_procs; cp--) if (!CHILD_ACTIVE (cp)) - goto Initialise; + goto Initialize; if (child_proc_count == MAX_CHILDREN) return NULL; cp = &child_procs[child_proc_count++]; - Initialise: - memset (cp, 0, sizeof(*cp)); + Initialize: + xzero (*cp); cp->fd = -1; cp->pid = -1; cp->procinfo.hProcess = NULL; @@ -284,7 +284,7 @@ if (cp == NULL) abort (); - memset (&start, 0, sizeof (start)); + xzero (start); start.cb = sizeof (start); #ifdef HAVE_NTGUI