aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKen Raeburn2002-07-19 14:26:49 +0000
committerKen Raeburn2002-07-19 14:26:49 +0000
commit4d3b07fdcd4af3aaa6b57753a163973bca4577ba (patch)
treeab4a45c4618d970b7830b590cdca7790d96a5196 /src
parent33b6c007b50f322dba803a6ce6e483d564e7b320 (diff)
downloademacs-4d3b07fdcd4af3aaa6b57753a163973bca4577ba.tar.gz
emacs-4d3b07fdcd4af3aaa6b57753a163973bca4577ba.zip
(Fcall_process): Make NEW_ARGV array hold pointer to
const.
Diffstat (limited to 'src')
-rw-r--r--src/callproc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/callproc.c b/src/callproc.c
index 68c4306b9ca..9b1e04ada82 100644
--- a/src/callproc.c
+++ b/src/callproc.c
@@ -222,8 +222,8 @@ usage: (call-process PROGRAM &optional INFILE BUFFER DISPLAY &rest ARGS) */)
222 int bufsize = 16384; 222 int bufsize = 16384;
223 int count = SPECPDL_INDEX (); 223 int count = SPECPDL_INDEX ();
224 224
225 register unsigned char **new_argv 225 register const unsigned char **new_argv
226 = (unsigned char **) alloca ((max (2, nargs - 2)) * sizeof (char *)); 226 = (const unsigned char **) alloca ((max (2, nargs - 2)) * sizeof (char *));
227 struct buffer *old = current_buffer; 227 struct buffer *old = current_buffer;
228 /* File to use for stderr in the child. 228 /* File to use for stderr in the child.
229 t means use same as standard output. */ 229 t means use same as standard output. */