mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-17 10:27:41 +00:00
(Fcall_process): Make NEW_ARGV array hold pointer to
const.
This commit is contained in:
parent
33b6c007b5
commit
4d3b07fdcd
1 changed files with 2 additions and 2 deletions
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Reference in a new issue