Commit Graph

722 Commits

Author SHA1 Message Date
Zack Weinberg
5c82d20a26 * hashtab.c, partition.c, xmemdup.c: Include string.h
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-05-29 20:45:32 +00:00
Alexandre Oliva
010c70e10f * Makefile.in (maintainer-clean-subdir): Fix handling of empty
SUBDIRS.
2000-05-26 12:50:58 +00:00
Jeff Law
19be430370 2000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
* Makefile.in (*-subdir): Revamp slightly to avoid losing on
        4.3BSD systems.
2000-04-21 22:19:43 +00:00
Richard Henderson
afe36a788b * splay-tree.c (splay_tree_remove): New. 2000-04-06 00:16:01 +00:00
Christopher Faylor
57c987aa10 * partition.c: New file. 2000-03-25 02:14:57 +00:00
Jason Merrill
b4fe268363 merge from gcc 2000-03-24 21:31:22 +00:00
Ian Lance Taylor
0c0a36a403 merge with libiberty from egcs 2000-02-22 2000-02-22 16:14:35 +00:00
Ian Lance Taylor
abd8680d6e This commit was generated by cvs2svn to track changes on a CVS vendor
branch.
2000-02-22 15:59:20 +00:00
Ian Lance Taylor
e2eaf47799 import libiberty from egcs 2000-02-22 15:59:20 +00:00
Geoffrey Keating
df840b63dc * vasprintf.c (int_vasprintf): Don't re-read the format character
as this mishandles strings like '%%s'.
1999-12-28 03:10:39 +00:00
Ian Lance Taylor
c1687039eb Revert last patch to xmalloc.c, and instead bring over this patch from
egcs:
Thu Apr 15 23:00:55 1999  Mumit Khan  <khan@xraylith.wisc.edu>

	* configure.in (checkfuncs): Check for sbrk.
	* config.in: Rebuilt.
	* configure: Likewise.
	* xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
1999-08-05 21:15:29 +00:00
Ian Lance Taylor
1198f921ae * xmalloc.c: Control all uses of SBRK with a single define,
USE_SBRK.  Don't define it if __INTERIX.
1999-08-05 16:22:42 +00:00
Ian Lance Taylor
08372f1427 * floatformat.c: Add casts to avoid signed/unsigned warnings.
* pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
1999-08-03 16:00:39 +00:00
Ian Lance Taylor
19c33eebb1 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
$(TARGETLIB)n so it works on MSDOS.
	(install_to_tooldir): Likewise.
1999-08-03 16:00:16 +00:00
Ian Lance Taylor
8f36e47c10 From Mark Elbrecht:
* configure.bat: Remove; obsolete.
1999-07-22 01:16:49 +00:00
Ian Lance Taylor
9c8ac5a997 From Mark Elbrecht:
* makefile.dos: Remove; obsolete.
1999-07-22 00:55:12 +00:00
Richard Henderson
35ca97eacf * argv.c: Include stdlib.h and string.h instead of
prototyping directly.
        * choose-temp.c: Conditionally include string.h.
1999-07-14 17:32:02 +00:00
Ian Lance Taylor
af32ff6969 * splay-tree.c (splay_tree_insert): Add initialization to avoid
warning.
1999-07-11 19:13:51 +00:00
Jim Blandy
e9868447b4 *** empty log message *** 1999-05-11 12:42:30 +00:00
Jim Blandy
7d0e3be3b1 * cplus-dem.c (main): Use table lookup to distinguish identifier
characters from non-identifier characters.
(standard_symbol_alphabet, hp_symbol_alphabet): New functions.
1999-05-11 12:42:12 +00:00
Richard Henderson
33fbbfbc00 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
* getruntime.c: Only attempt to include sys/resource.h and
        use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
        are defined.
1999-05-06 20:59:17 +00:00
Richard Henderson
252b5132c7 19990502 sourceware import 1999-05-03 07:29:11 +00:00