Home | History | Annotate | Download | only in gen
History log of /src/lib/libc/gen/errx.c
RevisionDateAuthorComments
 1.14  18-Jun-2007  ginsbach Follow the example of other nbtool compat functions, like dirname, and
don't create if it is determined that the system in question doesn't need
them. This cleans up build warnings on systems with err.h (HAVE_ERR_H)
for example Mac OS X 10.3.
 1.13  13-Sep-2005  christos don't use the weak names directly, so that the compat code works.
 1.12  13-Sep-2005  christos compat core reorg.
 1.11  27-Oct-2003  lukem Overhaul how `build.sh tools' are used:

* Rename "config.h" to "nbtool_config.h" and
HAVE_CONFIG_H to HAVE_NBTOOL_CONFIG_H.
This makes in more obvious in the source when we're using
tools/compat/config.h versus "standard autoconf" config.h

* Consistently move the inclusion of nbtool_config.h to before
<sys/cdefs.h> so that the former can provide __RCSID() (et al),
and there's no need to protect those macros any more.

These changes should make it easier to "tool-ify" a program by adding:
#if HAVE_NBTOOL_CONFIG_H
#include "nbtool_config.h"
#endif
to the top of the source files (for the general case).
 1.10  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.9  26-May-2002  wiz __STDC__ is always defined on NetBSD.
 1.8  22-Apr-2002  bjh21 When testing __STDC__, consistently use #ifdef rather than #if. The Sun
Workshop 5.0 C compiler defines __STDC__ to 0 unless it's in full-ANSI mode,
and in full ANSI mode it won't give us 64-bit integers (at least on a 32-bit
CPU).
 1.7  31-Jan-2002  tv Roll in fixes to permit cross-compiling from non-NetBSD hosts. This
round has been tested on Solaris/x86 and Linux hosts.

* Add host tools cap_mkdb, ctags, m4, uudecode.
* Protect __RCSID() and __COPYRIGHT() better.
* Reduce the number of places that need to include "config.h", to keep
sources closer to their "vanilla" versions.
* Add more compat #defines and autoconf-checked functions.
 1.6  28-Jan-2002  tv Fix previous to actually include config.h.
 1.5  28-Jan-2002  tv Make compilable from src/tools/compat.
 1.4  17-Aug-1999  mycroft branches: 1.4.10;
Make some needed weak aliases.
 1.3  17-Jul-1997  thorpej "Fix" the non-__indr_reference verions of the user-callable versions
of these functions. This is somewhat of a kludge, but there is not
much else we can do for this case.

Because of how the callable versions are created, by CPP trickery
and inclusion of another .c file, we cannot allow the included .c
file to pull in "namespace.h", since it undoes the CPP trickery we
have performed. Introduce a CPP macro that prevents the included .c
file from pulling in "namespace.h".
 1.2  13-Jul-1997  christos Use "namespace.h"
Fix RCSID's
 1.1  15-Apr-1996  jtc branches: 1.1.2;
Split each function in err.c out into its own file. This is needed
for systems without weak or indirect references.
 1.1.2.1  16-Sep-1996  jtc snapshot namespace cleanup
 1.4.10.4  21-Jun-2002  nathanw Catch up to -current.
 1.4.10.3  25-Apr-2002  nathanw Catch up to -current.
 1.4.10.2  22-Mar-2002  nathanw Catch up to -current.
 1.4.10.1  08-Mar-2002  nathanw Catch up to -current.

RSS XML Feed