OSDN Git Service

* pex-win32.c: Include "windows.h".
authorcgf <cgf@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 15 Sep 2005 00:46:20 +0000 (00:46 +0000)
committercgf <cgf@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 15 Sep 2005 00:46:20 +0000 (00:46 +0000)
commitd82d741904fa830adb184d8bbba8b8dca3ad3bdf
tree978bd36a50357fad8d1572b2c9bf9323f5c70dea
parent90beacf1490e7f5b9e3391483d205889bf7827c9
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104292 138bc75d-0d04-0410-961f-82ee72b054a4
libiberty/ChangeLog
libiberty/pex-win32.c