diff src/callproc.c @ 46546:254af4bff749

(Fcall_process): Make NEW_ARGV array hold pointer to const.
author Ken Raeburn <raeburn@raeburn.org>
date Fri, 19 Jul 2002 14:26:49 +0000
parents 40db0673e6f0
children 736bbb2f8711
line wrap: on
line diff
--- a/src/callproc.c	Fri Jul 19 14:26:46 2002 +0000
+++ b/src/callproc.c	Fri Jul 19 14:26:49 2002 +0000
@@ -222,8 +222,8 @@
   int bufsize = 16384;
   int count = SPECPDL_INDEX ();
 
-  register unsigned char **new_argv
-    = (unsigned char **) alloca ((max (2, nargs - 2)) * sizeof (char *));
+  register const unsigned char **new_argv
+    = (const unsigned char **) alloca ((max (2, nargs - 2)) * sizeof (char *));
   struct buffer *old = current_buffer;
   /* File to use for stderr in the child.
      t means use same as standard output.  */