This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/22259] [4.1 Regression] spawnv cannot execute gcc/as


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-15 22:36 -------
Fixed by:
2005-09-14  Christopher Faylor  <cgf@timesys.com>

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


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22259


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]