Commit Graph

51 Commits

Author SHA1 Message Date
Mark Mitchell
7b17bc2995 * libiberty.h (expandargv): New function.
* argv.c (safe-ctype.h): Include it.
	(ISBLANK): Remove.
	(stdio.h): Include.
	(buildargv): Use ISSPACE instead of ISBLANK.
	(expandargv): New function.
	* Makefile.in: Regenerated.
2005-09-26 21:02:59 +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
d30d42d114 merge from gcc 2005-06-06 22:13:35 +00:00
DJ Delorie
c2bd6e35d3 merge from gcc 2005-06-02 03:05:03 +00:00
DJ Delorie
01e94249b6 merge from gcc 2005-05-28 19:49:24 +00:00
DJ Delorie
abf6a75b42 merge from gcc 2005-05-24 21:01:33 +00:00
DJ Delorie
aaac363113 merge from gcc 2005-05-12 20:00:35 +00:00
Nick Clifton
e172dbf8aa Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
DJ Delorie
c631edf1cc merge from gcc 2005-04-26 01:02:02 +00:00
DJ Delorie
a288642de0 merge from gcc 2005-04-19 19:09:30 +00:00
DJ Delorie
7b6f628627 merge from gcc 2005-04-16 21:49:14 +00:00
DJ Delorie
ab70e2a569 merge from gcc 2005-04-14 02:22:18 +00:00
DJ Delorie
ac119ae83b merge from gcc 2005-04-11 19:32:04 +00:00
DJ Delorie
7e10245c4e merge from gcc 2005-03-29 19:32:15 +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
Mark Mitchell
3d0dfe269d * libiberty.h (ffs): Declare, if necessary. 2005-03-29 01:12:11 +00:00
DJ Delorie
9334f9c6cd merge from gcc 2005-03-27 05:28:42 +00:00
DJ Delorie
0fad4bdb8e merge from gcc 2005-03-25 04:57:08 +00:00
DJ Delorie
1ec0126d51 merge from gcc 2005-03-23 00:01:17 +00:00
DJ Delorie
8ec3272396 merge from gcc 2005-03-10 01:06:07 +00:00
DJ Delorie
190eb1370b merge from gcc 2005-03-01 14:33:00 +00:00
DJ Delorie
79fadcb076 merge from gcc 2004-09-14 01:16:22 +00:00
DJ Delorie
a5ecc6a5f5 merge from gcc 2004-09-05 06:04:05 +00:00
DJ Delorie
deaa6723d2 merge from gcc 2004-08-06 15:38:11 +00:00
DJ Delorie
d5b4094f38 merge from gcc 2004-07-24 18:04:39 +00:00
DJ Delorie
7ab9a76eac merge from gcc 2004-07-13 21:10:23 +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
638ceb1a84 merge from gcc 2003-02-27 21:01:04 +00:00
DJ Delorie
4938384a1f merge from gcc 2003-02-21 01:35:29 +00:00
Daniel Jacobowitz
e2803db937 * libiberty.h (lrealpath): Add declaration. 2003-02-20 22:13:09 +00:00
Jason Thorpe
40fb7a1f93 * libiberty.h (basename): Add NetBSD to the list. 2002-11-24 06:58:20 +00:00
DJ Delorie
2a80c0a458 merge from gcc 2002-11-22 21:02:14 +00:00
Alexandre Oliva
bb7eb0390b * libiberty.h (asprintf, vasprintf): Don't declare them if the
corresponding HAVE_DECL_ macro is 1.
2002-09-20 00:21:58 +00:00
DJ Delorie
931f285fb1 merge from gcc 2002-06-24 17:39:28 +00:00
DJ Delorie
1d619e590d merge from gcc 2002-01-28 22:03:14 +00:00
DJ Delorie
d311a83ab4 merge from gcc 2001-10-23 15:32:45 +00:00
DJ Delorie
e6450fe561 merge from gcc 2001-10-07 17:24:36 +00:00
DJ Delorie
99ee3a8f13 merge from gcc 2001-09-24 23:37:52 +00:00
DJ Delorie
38bfaea8f2 merge from gcc 2001-09-18 21:02:02 +00:00
DJ Delorie
54c2024269 merge from gcc 2001-09-17 23:11:04 +00:00
Andrew Cagney
3ea71002e4 (lbasename): Change function declaration to return a const char pointer. 2001-08-10 23:46:17 +00:00
DJ Delorie
129e8d96a5 merge from gcc 2001-03-31 19:05:20 +00:00
Nick Clifton
526c3e1208 Synchronise with copyright dates on FSF GCC versions of these files 2001-03-14 19:45:29 +00:00
Nick Clifton
4f1d9bd8e2 Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
DJ Delorie
8aa30e60ce merge from gcc 2001-03-10 22:23:50 +00:00
DJ Delorie
30673bf511 merge from gcc 2001-03-06 18:27:14 +00:00
DJ Delorie
b13291a979 * libiberty.h: Move #includes to top. Prototype xmalloc_failed. 2000-11-29 20:14:48 +00:00
Nick Clifton
b18903cb91 Add ARRAY_SIZE macro from egcs version 2000-09-03 17:35:07 +00:00
H.J. Lu
79c6de76fd 2000-06-17 H.J. Lu <hjl@gnu.org>
* getopt.h: Updated from gcc.
	* libiberty.h: Likewise.
	* symcat.h: Likewise.
2000-06-17 23:08:19 +00:00
Ian Lance Taylor
cc89ffe60b import libiberty from egcs 2000-02-22 16:18:13 +00:00