Home | History | Annotate | Download | only in gen
History log of /src/lib/libc/gen/err.c
RevisionDateAuthorComments
 1.26  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.25  13-Sep-2005  christos don't use the weak names directly, so that the compat code works.
 1.24  13-Sep-2005  christos compat core reorg.
 1.23  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.22  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.21  26-May-2002  wiz __STDC__ is always defined on NetBSD.
 1.20  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.19  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.18  28-Jan-2002  tv Fix previous to actually include config.h.
 1.17  28-Jan-2002  tv Make compilable from src/tools/compat.
 1.16  17-Aug-1999  mycroft branches: 1.16.10;
Make some needed weak aliases.
 1.15  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.14  13-Jul-1997  christos Fix RCSID's
Use namespace.h
 1.13  15-Apr-1996  jtc branches: 1.13.2;
Split each function in err.c out into its own file. This is needed
for systems without weak or indirect references.
 1.12  25-Feb-1995  cgd re-order things the way they'd like to be ordered
 1.11  25-Feb-1995  cgd update to 4.4-Lite where appropriate, clean up Id format, etc.
 1.10  17-Dec-1994  pk branches: 1.10.2;
Correct number of underscores on internal function calls.
 1.9  12-Dec-1994  jtc Rework indirect reference support as outlined by my recent message to
the tech-userlevel mailing list.
 1.8  11-Dec-1994  christos - Changed all internal libc references of {v,}err{x,} and {v,}warn{x,} to
__{v,}err{x,} and __{v,}warn{x,}
- moved err.c to __err.c and added err.c which contains weak references for
the above functions.
- Reordered the functions in __err.c to avoid redeclarations and changed
the varargs declarations to conform with the K&R style.
 1.7  06-Nov-1993  cgd update to latest version; va_list specification changes.
 1.6  06-Nov-1993  jtc Remove extra "eval" variables in warn() & warnx() function definitions;
these variables were probably introduced by copying the definitions of
err() & errx() when the functions were first implemented.
 1.5  13-Oct-1993  jtc Use __dead instead of volatile.
 1.4  26-Aug-1993  jtc Declare rcsid strings so they are stored in text segment.
 1.3  30-Jul-1993  mycroft Add even more RCS frobs.
 1.2  01-May-1993  mycroft Cleanup for GCC 2...
s/__dead/volatile/ (Does the format really exist in GCC 1?)
s/va_list/_VA_LIST_/ (to match prototypes)
 1.1  30-Apr-1993  glass branches: 1.1.1;
new err stuff
 1.1.1.1  25-Feb-1995  cgd from lite, with minor name rearrangement to fit.
 1.10.2.2  02-May-1995  jtc #include "namespace.h"
 1.10.2.1  17-Feb-1995  jtc Use "namespace.h"; back out old mechanism for namespace purity.
 1.13.2.1  16-Sep-1996  jtc snapshot namespace cleanup
 1.16.10.4  21-Jun-2002  nathanw Catch up to -current.
 1.16.10.3  25-Apr-2002  nathanw Catch up to -current.
 1.16.10.2  22-Mar-2002  nathanw Catch up to -current.
 1.16.10.1  08-Mar-2002  nathanw Catch up to -current.

RSS XML Feed