summaryrefslogtreecommitdiff
path: root/libiberty/pexecute.c
Commit message (Collapse)AuthorAgeFilesLines
* merge from gccDJ Delorie2006-02-211-1/+1
|
* merge from gccDJ Delorie2006-02-211-1/+4
|
* merge from gccDJ Delorie2005-07-121-2/+2
|
* merge from gccDJ Delorie2005-05-241-1/+1
|
* Update the address and phone number of the FSF organization.Nick Clifton2005-05-101-2/+2
|
* libiberty:Ian Lance Taylor2005-03-291-0/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* merge from gccDJ Delorie2003-01-241-792/+0
|
* merge from gccDJ Delorie2001-10-171-7/+7
|
* merge from gccDJ Delorie2001-10-161-34/+47
|
* * safe-ctype.c: New file.DJ Delorie2000-12-081-1/+1
| | | | | | | | | | | * Makefile.in (CFILES): Add safe-ctype.c. (REQUIRED_OFILES): Add safe-ctype.o. * argv.c: Define ISBLANK and use it, not isspace. * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c, strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c) before calling TOLOWER(c)/TOUPPER(c).
* merge from gcc repositoryDJ Delorie2000-10-121-20/+5
|
* * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ toJeff Law2000-07-271-5/+15
| | | | | | | | __DJGPP__. Use P_WAIT instead of constant in the spawnv* call. Cast program to 'char *' in errmsg_arg assignment. (PWAIT_ERROR): Define. (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform to DJGPP's WIF* macros.
* * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.Jeff Law2000-07-231-0/+3
| | | | | | * configure.in (libiberty_AC_DECLARE_ERRNO): Add check. * configure, config.in: Regenerate. * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
* * hashtab.c, partition.c, xmemdup.c: Include string.hZack Weinberg2000-05-291-0/+3
| | | | | | | | | | | | | if HAVE_STRING_H. * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H. * objalloc.c: Include config.h. Include stdlib.h and don't declare malloc or free if HAVE_STDLIB_H. * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H, else declare malloc without prototype. Include string.h if HAVE_STRING_H, else declare memset without prototype. Don't include stddef.h. * sort.c: Bring over from GCC.
* merge with libiberty from egcs 2000-02-22Ian Lance Taylor2000-02-221-9/+49
|
* * floatformat.c: Add casts to avoid signed/unsigned warnings.Ian Lance Taylor1999-08-031-2/+2
| | | | * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
* Initial revisionRichard Henderson1999-05-031-0/+738