HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4525f57
)
(Fcall_process): Check type of process cmd args earlier on.
author
Richard M. Stallman
<rms@gnu.org>
Sat, 8 Aug 1998 01:03:27 +0000
(
01:03
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 8 Aug 1998 01:03:27 +0000
(
01:03
+0000)
src/callproc.c
patch
|
blob
|
blame
|
history
diff --git
a/src/callproc.c
b/src/callproc.c
index
7035aed
..
6a1cfbc
100644
(file)
--- a/
src/callproc.c
+++ b/
src/callproc.c
@@
-245,6
+245,9
@@
If you quit, the process is killed with SIGINT, or SIGKILL if you quit again.")
{
int must_encode = 0;
+ for (i = 4; i < nargs; i++)
+ CHECK_STRING (args[i], i);
+
for (i = 4; i < nargs; i++)
if (STRING_MULTIBYTE (args[i]))
must_encode = 1;
@@
-401,8
+404,6
@@
If you quit, the process is killed with SIGINT, or SIGKILL if you quit again.")
{
register int i;
- for (i = 4; i < nargs; i++) CHECK_STRING (args[i], i);
-
if (! CODING_REQUIRE_ENCODING (&argument_coding))
{
for (i = 4; i < nargs; i++)