smap.patch
6d82e0b0c982311090b306455c10c753faec65ca97baa7b05bb1cc365ad13e01
*** old/smap.c 1997/01/18 20:40:53
--- smap.c 1997/03/17 22:29:51
***************
*** 9,15 ****
/*
* Author: Marcus J. Ranum, Trusted Information Systems, Inc.
*/
! static char RcsId[] = "$Header: /usr/home/rick/fwtk2.0/fwtk/smap/RCS/smap.c,v 1.19 1997/01/18 20:40:53 rick Exp $";
#include <sys/types.h>
--- 9,15 ----
/*
* Author: Marcus J. Ranum, Trusted Information Systems, Inc.
*/
! static char RcsId[] = "$Header: /usr/home/rick/fwtk2.0/fwtk/smap/RCS/smap.c,v 1.20 1997/03/17 22:29:44 rick Exp $";
#include <sys/types.h>
***************
*** 747,755 ****
int cstat;
#ifdef SYSV
- while (wait3(&cstat, WNOHANG, (struct rusage *)0) > 0)
- #else
while (waitpid(-1, &cstat, WNOHANG) > 0)
#endif
;
}
--- 747,755 ----
int cstat;
#ifdef SYSV
while (waitpid(-1, &cstat, WNOHANG) > 0)
+ #else
+ while (wait3(&cstat, WNOHANG, (struct rusage *)0) > 0)
#endif
;
}