projects
/
chise
/
xemacs-chise.git.1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
XEmacs 21.2.24 "Hecate".
[chise/xemacs-chise.git.1]
/
src
/
callproc.c
diff --git
a/src/callproc.c
b/src/callproc.c
index
080a1d7
..
2b45793
100644
(file)
--- a/
src/callproc.c
+++ b/
src/callproc.c
@@
-287,8
+287,8
@@
If you quit, the process is killed with SIGINT, or SIGKILL if you
CHECK_STRING (args[i]);
new_argv[i - 3] = (char *) XSTRING_DATA (args[i]);
}
- new_argv[nargs - 3] = 0;
}
+ new_argv[max(nargs - 3,1)] = 0;
if (NILP (path))
report_file_error ("Searching for program", Fcons (args[0], Qnil));