]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fcall_process): Make NEW_ARGV array hold pointer to
authorKen Raeburn <raeburn@raeburn.org>
Fri, 19 Jul 2002 14:26:49 +0000 (14:26 +0000)
committerKen Raeburn <raeburn@raeburn.org>
Fri, 19 Jul 2002 14:26:49 +0000 (14:26 +0000)
const.

src/callproc.c

index 68c4306b9ca0e0939bae683631471e3fe1af9926..9b1e04ada82c3e5eec23a404e0bedca0b15c4154 100644 (file)
@@ -222,8 +222,8 @@ usage: (call-process PROGRAM &optional INFILE BUFFER DISPLAY &rest ARGS)  */)
   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.  */