summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/callproc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/callproc.c b/src/callproc.c
index e90423e4dbe..0de906c5879 100644
--- a/src/callproc.c
+++ b/src/callproc.c
@@ -391,8 +391,10 @@ If you quit, the process is killed with SIGINT, or SIGKILL if you quit again.")
int size = encoding_buffer_size (&argument_coding,
XSTRING (args[i])->size);
int produced, dummy;
+ unsigned char *dummy = (unsigned char *) alloca (size);
- new_argv[i - 3] = (unsigned char *) alloca (size);
+ /* The Irix 4.0 compiler barfs if we eliminate dummy. */
+ new_argv[i - 3] = dummy;
produced = encode_coding (&argument_coding,
XSTRING (args[i])->data, new_argv[i - 3],
XSTRING (args[i])->size, size, &dummy);