Use execve to avoid need to munge environ.
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 2 Dec 2012 19:16:45 +0000 (11:16 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 2 Dec 2012 19:16:45 +0000 (11:16 -0800)
commit21e54a94d7527e07ddc37066c8cb488f478339c9
tree714c6cb2b4170123769e70a62d295cc24ed998f3
parent010db6da6527d16736fd3c2b607058dd35a70c9a
Use execve to avoid need to munge environ.

* callproc.c (Fcall_process):
* process.c (create_process):
Don't save and restore environ; no longer needed.
* callproc.c (child_setup):
Use execve, not execvp, to preserve environ.

Fixes: debbugs:13054
src/ChangeLog
src/callproc.c
src/process.c