This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
libiberty ChangeLog pex-win32.c
- From: cgf at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: 15 Sep 2005 00:46:20 -0000
- Subject: libiberty ChangeLog pex-win32.c
CVSROOT: /cvs/uberbaum
Module name: libiberty
Changes by: cgf@gcc.gnu.org 2005-09-15 00:46:20
Modified files:
. : ChangeLog pex-win32.c
Log message:
* pex-win32.c: Include "windows.h".
(backslashify): New function.
(fix_argv): Use backslashify to convert path to windows format. Allocate one
more place in new argv for potential executable from '#!' parsing.
(tack_on_executable): New function. Conditional on USE_MINGW_MSYS
(openkey): Ditto.
(mingw_rootify): Ditto.
(msys_rootify): Ditto.
(spawn_script): New function.
(pex_win32_exec_child): Save translated argv in newargv. Pass to spawn_script
if spawnv* fails.
(main): New function. Conditional on MAIN. Useful for testing.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/libiberty/ChangeLog.diff?cvsroot=gcc&r1=1.600&r2=1.601
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/libiberty/pex-win32.c.diff?cvsroot=gcc&r1=1.8&r2=1.9