r114302 - in /trunk: ChangeLog include/libibert...

shinwell@gcc.gnu.org shinwell@gcc.gnu.org
Thu Jun 1 10:30:00 GMT 2006


Author: shinwell
Date: Thu Jun  1 10:30:51 2006
New Revision: 114302

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114302
Log:
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.


Modified:
    trunk/ChangeLog
    trunk/include/libiberty.h
    trunk/libiberty/ChangeLog
    trunk/libiberty/functions.texi
    trunk/libiberty/pex-common.c
    trunk/libiberty/pex-common.h
    trunk/libiberty/pex-djgpp.c
    trunk/libiberty/pex-msdos.c
    trunk/libiberty/pex-unix.c
    trunk/libiberty/pex-win32.c
    trunk/libiberty/pexecute.txh



More information about the Gcc-cvs mailing list