]> git.ipfire.org Git - thirdparty/gcc.git/commit - libiberty/pex-win32.c
pex-win32.c: Include "windows.h".
authorChristopher Faylor <cgf@timesys.com>
Thu, 15 Sep 2005 00:46:20 +0000 (00:46 +0000)
committerChristopher Faylor <cgf@gcc.gnu.org>
Thu, 15 Sep 2005 00:46:20 +0000 (00:46 +0000)
commit0d676b85ae437226df3e9704072153bde2328ed9
tree978bd36a50357fad8d1572b2c9bf9323f5c70dea
parent62ff44d425edc510aa387fd788618cb275bb4c05
pex-win32.c: Include "windows.h".

* 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.

From-SVN: r104292
libiberty/ChangeLog
libiberty/pex-win32.c