DJ Delorie
80347f88a2
merge from gcc
2010-10-30 00:01:15 +00:00
DJ Delorie
9711ae4d9f
merge from gcc
2010-10-06 23:01:30 +00:00
DJ Delorie
219a461e6c
merge from gcc
2010-06-10 18:30:24 +00:00
Ben Elliston
cf89a94aae
* functions.texi: Rebuild.
2009-11-25 04:54:32 +00:00
DJ Delorie
6e88169156
merge from gcc
2009-07-25 00:01:58 +00:00
DJ Delorie
10e1b6bb90
merge from gcc
2009-03-27 23:07:30 +00:00
DJ Delorie
f562800dc4
merge from gcc
2008-07-31 19:06:35 +00:00
DJ Delorie
acf3a81396
merge from gcc
2007-07-23 18:01:25 +00:00
DJ Delorie
9c577e8950
merge from gcc
2007-03-29 21:03:48 +00:00
DJ Delorie
6dd7f013b4
merge from gcc
2007-01-31 20:25:23 +00:00
Vladimir Prus
53d7966f2a
include/
...
* libiberty.h (PEX_STDERR_TO_PIPE): New define.
(PEX_BINARY_ERROR): New define.
(pex_read_err): New function.
libiberty/
* pex-common.h (struct pex_obj): New fields
stderr_pipe and read_err.
* pex-common.c (pex_init_common): Initialize
stderr_pipe.
(pex_run_in_environment): Add error checking
for PEX_STDERR_TO_PIPE. Create a pipe
for stderr if necessary.
(pex_read_err): New.
(pex_free): Close read_err.
* pexecute.txh: Document changes.
* functions.texi: Regenerated.
2007-01-31 18:49:42 +00:00
Ben Elliston
71f2e6f41f
* strsignal.c (psignal): Change type of signo to int.
...
* functions.texi: Regenerate.
2007-01-30 23:13:04 +00:00
DJ Delorie
014a8caf46
merge from gcc
2006-06-01 14:57:50 +00:00
DJ Delorie
3db2e6ddf6
merge from gcc
2006-04-12 18:42:01 +00:00
DJ Delorie
9223c9457d
merge from gcc
2006-03-13 20:00:44 +00:00
Geoffrey Keating
67f3cb056f
Index: include/ChangeLog
...
2005-06-20 Geoffrey Keating <geoffk@apple.com>
* libiberty.h (strverscmp): Prototype.
Index: libiberty/ChangeLog
2005-06-20 Geoffrey Keating <geoffk@apple.com>
* strverscmp.c: New.
* Makefile.in (CFILES): Add strverscmp.c.
(CONFIGURED_OFILES): Add strverscmp.o.
(strverscmp.o): New rule.
(stamp-functions): Add $(srcdir) to files in source directory.
* configure.ac (funcs): Add strverscmp.
(AC_CHECK_FUNCS): Add strverscmp.
* configure: Regenerate.
* functions.texi: Regenerate.
2005-06-21 00:28:25 +00:00
DJ Delorie
e9edcedc8e
merge from gcc
2005-05-15 18:31:15 +00:00
DJ Delorie
c631edf1cc
merge from gcc
2005-04-26 01:02:02 +00:00
DJ Delorie
7b6f628627
merge from gcc
2005-04-16 21:49:14 +00:00
DJ Delorie
ac119ae83b
merge from gcc
2005-04-11 19:32:04 +00:00
DJ Delorie
0e867e7957
merge from gcc
2005-03-31 17:03:35 +00:00
Ian Lance Taylor
b109e79adc
libiberty:
...
* 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-29 02:15:24 +00:00
DJ Delorie
0fad4bdb8e
merge from gcc
2005-03-25 04:57:08 +00:00
DJ Delorie
b5c3b3deb6
merge from gcc
2005-01-11 21:01:13 +00:00
DJ Delorie
70ecf948d9
merge from gcc
2003-06-22 16:35:53 +00:00
Nick Clifton
5a4e47bd30
asprintf.c: Change comment to note that -1 is returned upon error.
...
vasprintf.c: Likewise. (vasprintf): Return -1 upon error.
functions.texi: Document changes to asprintf and vasprintf.
2003-06-03 18:17:29 +00:00
Jim Blandy
e4f7904629
libiberty/ChangeLog:
...
2003-05-14 Jim Blandy <jimb@redhat.com>
* hex.c (_hex_value): Make this unsigned.
(hex_value): Update documentation for new return type. hex_value
now expands to an unsigned int expression, to avoid unexpected
sign extension when we store it in a bfd_vma, which is larger than
int on some platforms.
* functions.texi: Regenerated.
include/ChangeLog:
2003-05-14 Jim Blandy <jimb@redhat.com>
* libiberty.h (hex_value): Make the value an unsigned int, to
avoid unexpected sign-extension when cast to unsigned types larger
than int --- like bfd_vma, on some platforms.
(_hex_value): Update declaration.
2003-05-15 19:08:25 +00:00
DJ Delorie
2ed1e5cc55
merge from gcc
2003-04-16 23:09:21 +00:00
DJ Delorie
10b57b38b3
merge from gcc
2003-04-16 03:51:54 +00:00
Daniel Jacobowitz
ba61a41253
* Makefile.in (CFILES): Add lrealpath.c.
...
(REQUIRED_OFILES): Add lrealpath.o.
(lrealpath.o): Add rule.
* aclocal.m4 (libiberty_NEED_DECLARATION): Add.
* configure.in: Add realpath and canonicalize_file_name to
checkfuncs and AC_CHECK_FUNCS. Use libiberty_NEED_DECLARATION
for canonicalize_file_name.
* lrealpath.c: New file.
* make-relative-prefix.c: Update documentation.
(make_relative_prefix): Simplify. Use lbasename and lrealpath.
* config.in: Regenerated.
* configure: Regenerated.
* functions.texi: Regenerated.
2003-02-20 22:14:18 +00:00
DJ Delorie
5a17353c6b
merge from gcc
2003-01-24 21:31:35 +00:00
DJ Delorie
2a80c0a458
merge from gcc
2002-11-22 21:02:14 +00:00
DJ Delorie
7dd4d42a60
merge from gcc
2002-03-28 04:06:38 +00:00
DJ Delorie
5d852400e9
merge from gcc
2001-10-17 22:35:28 +00:00
DJ Delorie
ba19b94f67
merge from gcc
2001-10-16 02:55:31 +00:00
DJ Delorie
56056af518
merge from gcc
2001-10-10 00:05:13 +00:00
DJ Delorie
99b5813985
merge from gcc
2001-10-07 22:42:23 +00:00
DJ Delorie
fa9f0e33b3
merge from gcc
2001-09-27 20:27:58 +00:00
DJ Delorie
3942352316
merge from gcc
2001-09-26 18:45:50 +00:00