static char sccsid
[] = "@(#)wwspawn.c 3.11 %G%";
* Copyright (c) 1983 Regents of the University of California,
* All rights reserved. Redistribution permitted subject to
* the terms of the Berkeley Software License Agreement.
* There is a dead lock with vfork and closing of pseudo-ports.
* So we have to be sneaky about error reporting.
s
= sigblock(sigmask(SIGCHLD
));
wp
->ww_state
= WWS_HASPROC
;
if (wp
->ww_socket
>= 0) {
(void) close(wp
->ww_socket
);