SCCS-vsn: usr.bin/mail/names.c 2.6
SCCS-vsn: usr.bin/mail/popen.c 1.4
-static char *SccsId = "@(#)names.c 2.5 %G%";
+static char *SccsId = "@(#)names.c 2.6 %G%";
/*
* Allocate a single element of a name list,
/*
* Allocate a single element of a name list,
wait(&s);
switch (pid = fork()) {
case 0:
wait(&s);
switch (pid = fork()) {
case 0:
sigsys(SIGHUP, SIG_IGN);
sigsys(SIGINT, SIG_IGN);
sigsys(SIGQUIT, SIG_IGN);
sigsys(SIGHUP, SIG_IGN);
sigsys(SIGINT, SIG_IGN);
sigsys(SIGQUIT, SIG_IGN);
#define RDR 0
#define WTR 1
static int popen_pid[20];
#define RDR 0
#define WTR 1
static int popen_pid[20];
-static char *sccsid = "@(#)popen.c 1.3 %G%";
+static char *sccsid = "@(#)popen.c 1.4 %G%";
# ifndef VMUNIX
# define vfork fork
# ifndef VMUNIX
# define vfork fork
hisside = tst(p[RDR], p[WTR]);
if((pid = vfork()) == 0) {
/* myside and hisside reverse roles in child */
hisside = tst(p[RDR], p[WTR]);
if((pid = vfork()) == 0) {
/* myside and hisside reverse roles in child */
close(myside);
dup2(hisside, tst(0, 1));
close(hisside);
close(myside);
dup2(hisside, tst(0, 1));
close(hisside);