use SHELL instead of "/bin/csh"
SCCS-vsn: usr.bin/mail/popen.c 5.7
-static char sccsid[] = "@(#)popen.c 5.6 (Berkeley) %G%";
+static char sccsid[] = "@(#)popen.c 5.7 (Berkeley) %G%";
#endif /* notdef */
#include "rcv.h"
#endif /* notdef */
#include "rcv.h"
doshell = 1;
if ((shell = value("shell")) || (shell = value("SHELL"))) {
doshell = 1;
if ((shell = value("shell")) || (shell = value("SHELL"))) {
- if (!strcmp(shell, "none"))
if (pipe(p) < 0)
return NULL;
myside = tst(p[WTR], p[RDR]);
if (pipe(p) < 0)
return NULL;
myside = tst(p[WTR], p[RDR]);