diff options
author | Eli Zaretskii <eliz@gnu.org> | 2020-12-24 18:32:54 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2020-12-24 18:32:54 +0200 |
commit | e3525712ee312627544bfd6d054b1defa46b660f (patch) | |
tree | d35e04db24dc6136d45e65d1d7769a59b1337b60 /src/callproc.c | |
parent | 452baab8487d9a560a4b56a6ba2b9b1459c8ce76 (diff) | |
download | emacs-e3525712ee312627544bfd6d054b1defa46b660f.tar.gz emacs-e3525712ee312627544bfd6d054b1defa46b660f.tar.bz2 emacs-e3525712ee312627544bfd6d054b1defa46b660f.zip |
; * src/callproc.c (emacs_spawn) [!WINDOWSNT]: Fix last change.
Diffstat (limited to 'src/callproc.c')
-rw-r--r-- | src/callproc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/callproc.c b/src/callproc.c index e9502d2c4e8..3ecd6880274 100644 --- a/src/callproc.c +++ b/src/callproc.c @@ -1239,11 +1239,11 @@ emacs_spawn (pid_t *newpid, int std_in, int std_out, int std_err, pid_t *volatile newpid_volatile = newpid; const char *volatile cwd_volatile = cwd; const char *volatile pty_volatile = pty; - char *const *volatile argv_volatile = argv; + char **volatile argv_volatile = argv; int volatile stdin_volatile = std_in; int volatile stdout_volatile = std_out; int volatile stderr_volatile = std_err; - char *const *volatile envp_volatile = envp; + char **volatile envp_volatile = envp; #ifdef DARWIN_OS /* Darwin doesn't let us run setsid after a vfork, so use fork when |