changeset 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 99d1224dfe6c
children ac377294d1f1
files src/callproc.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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.  */