aboutsummaryrefslogtreecommitdiff
path: root/libiberty/pexecute.c
AgeCommit message (Collapse)AuthorFilesLines
2006-02-21merge from gccDJ Delorie1-1/+1
2006-02-21merge from gccDJ Delorie1-1/+4
2005-07-12merge from gccDJ Delorie1-2/+2
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-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.
2003-01-24merge from gccDJ Delorie1-792/+0
2001-10-17merge from gccDJ Delorie1-7/+7
2001-10-16merge from gccDJ Delorie1-34/+47
2000-12-08* safe-ctype.c: New file.DJ Delorie1-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).
2000-10-12merge from gcc repositoryDJ Delorie1-20/+5
2000-07-27 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ toJeff Law1-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.
2000-07-23 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.Jeff Law1-0/+3
* configure.in (libiberty_AC_DECLARE_ERRNO): Add check. * configure, config.in: Regenerate. * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
2000-05-29 * hashtab.c, partition.c, xmemdup.c: Include string.hZack Weinberg1-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.
2000-02-22merge with libiberty from egcs 2000-02-22Ian Lance Taylor1-9/+49
1999-08-03 * floatformat.c: Add casts to avoid signed/unsigned warnings.Ian Lance Taylor1-2/+2
* pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
1999-05-0319990502 sourceware importbinu_ss_19990502Richard Henderson1-0/+738