aboutsummaryrefslogtreecommitdiff
path: root/libiberty/pex-win32.c
AgeCommit message (Collapse)AuthorFilesLines
2009-05-292009-05-29 Kai Tietz <kai.tietz@onevision.com>Kai Tietz1-0/+5
* pex-win32.c (pex_win32_fdopenr): Set INHERIT to false.
2009-05-17 libiberty/Julian Brown1-8/+9
* pex-win32.c (pex_win32_exec_child): Fix logic to avoid closing standard handles (stdin, stdout, stderr) in parent.
2009-04-29 libiberty/Julian Brown1-6/+28
* pex-win32.c (pex_win32_pipe): Add _O_NOINHERIT. (pex_win32_exec_child): Ensure each process has only one handle open on pipe endpoints. Close standard input after creating child for symmetry with standard output/standard error.
2009-04-13Merged from gcc head revision 146001.Kai Tietz1-4/+4
2009-04-13 Ozkan Sezer <sezeroz@gmail.com> PR target/39397 * pex-common.h (struct pex_obj): Store pid values as pid_t, not as long (members *children and (*wait)) * pex-common.c (pex_run_in_environment): Likewise. * pex-win32.c (pex_win32_wait): Return pid_t and properly check returned pid value. * pex-djgpp.c (pex_djgpp_wait): Return pid_t. * pex-msdos.c (pex_msdos_wait): Likewise.
2008-08-07merge from gccDJ Delorie1-2/+35
2007-08-24merge from gccDJ Delorie1-16/+16
2006-11-082006-11-08 Vladimir Prus <vladimir@codesourcery.com>Vladimir Prus1-7/+8
* pex-win32.c (no_suffixes): Remove. (std_suffixes): Add "" as first element. (find_executable): Remove detection of already-present extension. Try all suffixes in std_suffixes.
2006-10-26merge from gccDJ Delorie1-5/+5
2006-08-28merge from gccDJ Delorie1-2/+4
2006-06-01merge from gccDJ Delorie1-11/+102
2006-04-12merge from gccDJ Delorie1-0/+14
2006-03-31merge from gccDJ Delorie1-258/+322
2005-09-15merge from gccDJ Delorie1-14/+291
2005-05-24merge from gccDJ Delorie1-3/+3
2005-05-10Update the address and phone number of the FSF organization.Nick Clifton1-2/+2
2005-03-29libiberty:Ian Lance Taylor1-97/+289
* pex-common.c: New file. * pex-one.c: New file. * pexecute.c: New file. * pex-common.h: Include <stdio.h>. (struct pex_obj): Define. (struct pex_funcs): Define. (pex_init_common): Declare. * pex-unix.c: Rewrite. * pex-win32.c: Rewrite. * pex-djgpp.c: Rewrite. * pex-msdos.c: Rewrite. * testsuite/text-pexecute.c: New file. * pexecute.txh: Rewrite. * configure.ac: Check for wait3 and wait4. Set CHECK to really-check rather than check-cplus-dem. * functions.texi: Rebuild. * Makefile.in: Rebuild dependencies. (CFILES): Add pexecute.c, pex-common.c, pex-one.c. (REQUIRED_OFILES): Add pexecute.o, pex-common.o, pex-one.o. * testsuite/Makefile.in (really-check): New target. (check-pexecute, test-pexecute): New targets. * configure: Rebuild. include: * libiberty.h: Include <stdio.h>. (PEX_RECORD_TIMES, PEX_USE_PIPES, PEX_SAVE_TEMPS): Define. (PEX_LAST, PEX_SEARCH, PEX_SUFFIX, PEX_STDERR_TO_STDOUT): Define. (PEX_BINARY_INPUT, PEX_BINARY_OUTPUT): Define. (pex_init, pex_run, pex_read_output): Declare. (pex_get_status, pex_get_times, pex_free, pex_one): Declare. (struct pex_time): Define.
2005-03-28merge from gccDJ Delorie1-14/+7
2004-05-31merge from gccDJ Delorie1-1/+6
2003-07-05merge from gccDJ Delorie1-5/+6
2003-07-03merge from gccDJ Delorie1-1/+7
2003-01-24merge from gccDJ Delorie1-0/+243