=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/window/Attic/wwspawn.c,v retrieving revision 1.3 retrieving revision 1.4 diff -c -r1.3 -r1.4 *** src/usr.bin/window/Attic/wwspawn.c 1996/06/26 05:43:52 1.3 --- src/usr.bin/window/Attic/wwspawn.c 1996/12/06 02:28:58 1.4 *************** *** 1,4 **** ! /* $OpenBSD: wwspawn.c,v 1.3 1996/06/26 05:43:52 deraadt Exp $ */ /* $NetBSD: wwspawn.c,v 1.4 1995/12/21 08:39:57 mycroft Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: wwspawn.c,v 1.4 1996/12/06 02:28:58 deraadt Exp $ */ /* $NetBSD: wwspawn.c,v 1.4 1995/12/21 08:39:57 mycroft Exp $ */ /* *************** *** 41,52 **** #if 0 static char sccsid[] = "@(#)wwspawn.c 8.1 (Berkeley) 6/6/93"; #else ! static char rcsid[] = "$OpenBSD: wwspawn.c,v 1.3 1996/06/26 05:43:52 deraadt Exp $"; #endif #endif /* not lint */ #include "ww.h" #include /* * There is a dead lock with vfork and closing of pseudo-ports. --- 41,53 ---- #if 0 static char sccsid[] = "@(#)wwspawn.c 8.1 (Berkeley) 6/6/93"; #else ! static char rcsid[] = "$OpenBSD: wwspawn.c,v 1.4 1996/12/06 02:28:58 deraadt Exp $"; #endif #endif /* not lint */ #include "ww.h" #include + #include /* * There is a dead lock with vfork and closing of pseudo-ports. *************** *** 77,82 **** --- 78,84 ---- erred = 1; _exit(1); default: + (void) wait(NULL); if (erred) { wwerrno = WWE_SYS; ret = -1;