file reorg, pathnames.h, paths.h
[unix-history] / usr / src / usr.bin / mail / fio.c
index 8f428ef..b235143 100644 (file)
@@ -16,7 +16,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)fio.c      5.20 (Berkeley) %G%";
+static char sccsid[] = "@(#)fio.c      5.21 (Berkeley) %G%";
 #endif /* not lint */
 
 #include "rcv.h"
 #endif /* not lint */
 
 #include "rcv.h"
@@ -343,7 +343,7 @@ expand(name)
        }
        sprintf(cmdbuf, "echo %s", name);
        if ((shell = value("SHELL")) == NOSTR)
        }
        sprintf(cmdbuf, "echo %s", name);
        if ((shell = value("SHELL")) == NOSTR)
-               shell = SHELL;
+               shell = _PATH_CSHELL;
        pid = start_command(shell, 0, -1, pivec[1], "-c", cmdbuf, NOSTR);
        if (pid < 0) {
                close(pivec[0]);
        pid = start_command(shell, 0, -1, pivec[1], "-c", cmdbuf, NOSTR);
        if (pid < 0) {
                close(pivec[0]);