HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
03dbb1e
)
(Fcall_process): Don't clobber new_argv[0]
author
Karl Heuer
<kwzh@gnu.org>
Tue, 9 Dec 1997 22:47:45 +0000
(22:47 +0000)
committer
Karl Heuer
<kwzh@gnu.org>
Tue, 9 Dec 1997 22:47:45 +0000
(22:47 +0000)
in the case of no args.
src/callproc.c
patch
|
blob
|
blame
|
history
diff --git
a/src/callproc.c
b/src/callproc.c
index
44edd57
..
4ded0e8
100644
(file)
--- a/
src/callproc.c
+++ b/
src/callproc.c
@@
-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")))