History log of /netbsd-src/lib/libc/gen/err.c (Results 1 – 25 of 26)
Revision Date Author Comments
# 2f410732 18-Jun-2007 ginsbach <ginsbach@NetBSD.org>

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 e

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.

show more ...


# 95a8d087 13-Sep-2005 christos <christos@NetBSD.org>

don't use the weak names directly, so that the compat code works.


# 5b84b398 13-Sep-2005 christos <christos@NetBSD.org>

compat core reorg.


# 171d6532 27-Oct-2003 lukem <lukem@NetBSD.org>

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/com

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).

show more ...


# eb7c1594 07-Aug-2003 agc <agc@NetBSD.org>

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.


# 077b67ef 26-May-2002 wiz <wiz@NetBSD.org>

__STDC__ is always defined on NetBSD.


# 43102f34 22-Apr-2002 bjh21 <bjh21@NetBSD.org>

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 int

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).

show more ...


# 9fbd8888 31-Jan-2002 tv <tv@NetBSD.org>

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 __C

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.

show more ...


# a6d1338e 28-Jan-2002 tv <tv@NetBSD.org>

Fix previous to actually include config.h.


# 12b9020c 28-Jan-2002 tv <tv@NetBSD.org>

Make compilable from src/tools/compat.


# af3e0750 17-Aug-1999 mycroft <mycroft@NetBSD.org>

Make some needed weak aliases.


# 2d0f14c5 17-Jul-1997 thorpej <thorpej@NetBSD.org>

"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 callabl

"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".

show more ...


# ae5f0ca6 13-Jul-1997 christos <christos@NetBSD.org>

Fix RCSID's
Use namespace.h


# ec081115 15-Apr-1996 jtc <jtc@NetBSD.org>

Split each function in err.c out into its own file. This is needed
for systems without weak or indirect references.


# 516f67f7 25-Feb-1995 cgd <cgd@NetBSD.org>

re-order things the way they'd like to be ordered


# 6e6a4e85 25-Feb-1995 cgd <cgd@NetBSD.org>

update to 4.4-Lite where appropriate, clean up Id format, etc.


# c0aee44a 17-Dec-1994 pk <pk@NetBSD.org>

Correct number of underscores on internal function calls.


# 3c98cdcd 12-Dec-1994 jtc <jtc@NetBSD.org>

Rework indirect reference support as outlined by my recent message to
the tech-userlevel mailing list.


# 9cc12a55 11-Dec-1994 christos <christos@NetBSD.org>

- 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 fu

- 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.

show more ...


# f95d2e28 06-Nov-1993 cgd <cgd@NetBSD.org>

update to latest version; va_list specification changes.


# 344059bc 06-Nov-1993 jtc <jtc@NetBSD.org>

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.


# e4da5d66 13-Oct-1993 jtc <jtc@NetBSD.org>

Use __dead instead of volatile.


# 9c20f740 26-Aug-1993 jtc <jtc@NetBSD.org>

Declare rcsid strings so they are stored in text segment.


# f23f94cb 30-Jul-1993 mycroft <mycroft@NetBSD.org>

Add even more RCS frobs.


# eca88e27 01-May-1993 mycroft <mycroft@NetBSD.org>

Cleanup for GCC 2...
s/__dead/volatile/ (Does the format really exist in GCC 1?)
s/va_list/_VA_LIST_/ (to match prototypes)


12