1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-05 11:21:04 -08:00

(Fcall_process): Don't clobber new_argv[0]

in the case of no args.
This commit is contained in:
Karl Heuer 1997-12-09 22:47:45 +00:00
parent 03dbb1e75a
commit db54baaa69

View file

@ -452,8 +452,10 @@ If you quit, the process is killed with SIGINT, or SIGKILL if you quit again.")
}
UNGCPRO;
}
new_argv[nargs - 3] = 0;
}
new_argv[nargs - 3] = 0;
else
new_argv[1] = 0;
#ifdef MSDOS /* MW, July 1993 */
if ((outf = egetenv ("TMP")) || (outf = egetenv ("TEMP")))