mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-25 19:11:56 +00:00
(Fcall_process): Check type of process cmd args earlier on.
This commit is contained in:
parent
4525f571f5
commit
e7c1c20eba
@ -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++)
|
||||
|
Loading…
Reference in New Issue
Block a user