#include <h/scansbr.h>
#include <h/tws.h>
#include <h/mts.h>
-#include <signal.h>
#include <fcntl.h>
#ifdef HAVE_GETUTXENT
#endif /* HAVE_GETUTXENT */
exit (RCV_MOK);
- return 0; /* dead code to satisfy the compiler */
}
fd = mkstemp (strncpy (tmpfil, "/tmp/rcvttyXXXXX", sizeof(tmpfil)));
unlink (tmpfil);
- if ((child_id = vfork()) == NOTOK) {
+ if ((child_id = fork()) == NOTOK) {
/* fork error */
close (fd);
return header_fd ();
setpgid ((pid_t) 0, getpid ()); /* put in own process group */
execvp (vec[0], vec);
_exit (-1);
- return 1; /* dead code to satisfy compiler */
}