]> git.ipfire.org Git - thirdparty/gcc.git/commit - ChangeLog
Patch to provide pex_run_in_environment.
authorMark Shinwell <shinwell@codesourcery.com>
Thu, 1 Jun 2006 10:30:51 +0000 (10:30 +0000)
committerMark Shinwell <shinwell@gcc.gnu.org>
Thu, 1 Jun 2006 10:30:51 +0000 (10:30 +0000)
commitea60341e32df03bcef5985ec908b1f38e9a7892a
tree65214f176ae027d313b5e5f7a60900e75c43d3ef
parent7d6d782d02ed4320a81e7e1d9caf526d583aae0a
Patch to provide pex_run_in_environment.

* include/libiberty.h: Declare pex_run_in_environment.

libiberty:

* pex-common.c: New function pex_run_in_environment.
* pex-common.h: Add environment parameter to exec_child.
* pex-msdos.c: Add environment parameter to pex_msdos_exec_child.
* pex-djgpp.c: Add environment parameter to pex_djgpp_exec_child.
(pex_djgpp_exec_child): Pass environment to child process.
* pex-unix.c: Add environment parameter to pex_unix_exec_child.
(pex_unix_exec_child): Pass environment to child process.
* pex-win32.c: Add environment parameter to pex_win32_exec_child.
New function env_compare for comparing VAR=VALUE pairs.
(win32_spawn): Assemble environment block and pass to CreateProcess.
(spawn_script): Pass environment through to win32_spawn.
(pex_win32_exec_child): Pass environment through to spawn_script and
win32_spawn.
* functions.texi: Regenerate.
* pexecute.txh: Document pex_run_in_environment.

From-SVN: r114302
ChangeLog
include/libiberty.h
libiberty/ChangeLog
libiberty/functions.texi
libiberty/pex-common.c
libiberty/pex-common.h
libiberty/pex-djgpp.c
libiberty/pex-msdos.c
libiberty/pex-unix.c
libiberty/pex-win32.c
libiberty/pexecute.txh