Commit Graph

15 Commits

Author SHA1 Message Date
wiz 4c99916337 va_{start,end} audit:
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function gets va_list as argument, don't let it use va_end (since
it's the callers responsibility).

Improved by comments from enami and christos -- thanks!

Heimdal/krb4/KAME changes already fed back, rest to follow.

Inspired by, but not not based on, OpenBSD.
2001-09-24 13:22:25 +00:00
tv ae250d0e0a Round 2 of gnu/dist cleanup:
- remove ChangeLogs (still available on vendor FSF/CYGNUS branch, 1.1.1)
- remove many target-system config files unrelated to NetBSD targets
1999-02-04 04:25:21 +00:00
tv 39d9eb47d8 First round of gnu/dist cleanup - remove:
- files removed in binutils 2.8.1 or 2.9.1
- some testsuite stuff
- VMS, MS-DOS, and MPW Macintosh build environmanet (most of which are
  quite old and out of maintenance)
- generated GNU info files
- non-NetBSD-target makefile fragments
1999-02-03 18:50:07 +00:00
tv 3b3908f06f Update the C++ demangler to one from the egcs 1.2 trunk, dated 19980131.
This is a bit more robust than that in egcs 1.1.1, and recognizes more
(but not yet all) template constructions.
1999-02-02 21:00:32 +00:00
tv 8031b43d5f Import egcs 1.1.1 (release). 1998-12-13 00:15:30 +00:00
tv fe75b89f93 Nuke stdio.h's P_tmpdir and explicitly try /tmp after the environment
variables if hosted under NetBSD.  Inspired by <tsutsui@ceres.dti.ne.jp>
in PR bin/5700.
1998-09-14 17:19:35 +00:00
tv 2ecc177404 Remove files obsoleted by egcs import of libiberty. 1998-08-28 16:59:09 +00:00
tv 5990abf3b1 Make sure to include config.h if available. 1998-08-28 16:58:25 +00:00
tv 1f41015535 Get the correct vfork definition from <unistd.h>. 1998-08-28 16:57:07 +00:00
tv 2034bed7f1 Resolve conflicts and get prototypes from the right places (conig.h
guarded).
1998-08-28 16:02:39 +00:00
tv 0f6f615875 Update libiberty to that shipped with egcs. Improvements include better
C++ demangling.
1998-08-28 15:39:36 +00:00
tv 858921e399 Undo previous. 1998-08-27 16:04:08 +00:00
tv cd2577488c Work around a strange a.out linker problem: don't define `optind' and
let the system libc define it.
1998-08-22 17:08:48 +00:00
thorpej 72434afdb5 Pull in <string.h> to get prototypes so that this builds on the Alpha. 1997-10-25 01:57:10 +00:00
gwr 32adbb9246 stock binutils-2.8 1997-09-24 15:39:15 +00:00