aboutsummaryrefslogtreecommitdiff
path: root/libiberty/pex-unix.c
AgeCommit message (Collapse)AuthorFilesLines
2012-04-10merge from gccDJ Delorie1-2/+4
2011-01-03merge from gccDJ Delorie1-2/+2
2010-11-04Use spawnve on cygwin.Richard Henderson1-1/+200
* configure.ac (AC_CHECK_HEADERS): Add process.h. (checkfuncs): Add dup3, spawnve, spawnvpe; sort the list. (AC_CHECK_FUNCS): Add dup3, spawnve, spawnvpe. * configure, config.in: Rebuild. * pex-unix.c [HAVE_SPAWNVE] (pex_unix_exec_child): New function. [HAVE_SPAWNVE] (save_and_install_fd, restore_fd): New functions.
2009-12-08 * pex-unix.c (pex_unix_exec_child): Save/restore environ.Doug Evans1-1/+20
2009-11-23 * pex-unix.c (pex_child_error): Improve warning avoidance byBen Elliston1-2/+4
checking the results of write(3) and exiting with -2 if any write returns a negative value.
2009-11-19 * pex-unix.c (pex_child_error): Define writeerr macro to avoidBen Elliston1-1/+2
unused result warnings from write(3) calls. Undefine writeerr after all uses.
2009-07-27merge from gccDJ Delorie1-7/+36
2007-08-24merge from gccDJ Delorie1-10/+10
2007-01-12 * pex-unix.c (writeerr): Cast write result to void.Ben Elliston1-1/+1
2006-08-28merge from gccDJ Delorie1-2/+8
2006-06-02merge from gccDJ Delorie1-1/+1
2006-06-01merge from gccDJ Delorie1-3/+11
2006-04-12merge from gccDJ Delorie1-0/+11
2005-05-24merge from gccDJ Delorie1-1/+1
2005-05-10Update the address and phone number of the FSF organization.Nick Clifton1-2/+2
2005-03-29libiberty:Ian Lance Taylor1-112/+418
* 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-13/+5
2004-11-30merge from gccDJ Delorie1-1/+1
2004-03-18merge from gccDJ Delorie1-16/+65
2003-01-24merge from gccDJ Delorie1-0/+166