summaryrefslogtreecommitdiff
path: root/lib/libc/gen/err.c
AgeCommit message (Collapse)Author
2007-06-18Follow the example of other nbtool compat functions, like dirname, andginsbach
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.
2005-09-13don't use the weak names directly, so that the compat code works.christos
2005-09-13compat core reorg.christos
2003-10-27Overhaul how `build.sh tools' are used:lukem
* 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).
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
Patches provided by Joel Baker in PR 22280, verified by myself.
2002-05-26__STDC__ is always defined on NetBSD.wiz
2002-04-22When testing __STDC__, consistently use #ifdef rather than #if. The Sunbjh21
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).
2002-01-31Roll in fixes to permit cross-compiling from non-NetBSD hosts. Thistv
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.
2002-01-28Fix previous to actually include config.h.tv
2002-01-28Make compilable from src/tools/compat.tv
1999-08-17Make some needed weak aliases.mycroft
1997-07-17"Fix" the non-__indr_reference verions of the user-callable versionsthorpej
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".
1997-07-13Fix RCSID'schristos
Use namespace.h
1996-04-15Split each function in err.c out into its own file. This is neededjtc
for systems without weak or indirect references.
1995-02-25re-order things the way they'd like to be orderedcgd
1995-02-25update to 4.4-Lite where appropriate, clean up Id format, etc.cgd
1994-12-17Correct number of underscores on internal function calls.pk
1994-12-12Rework indirect reference support as outlined by my recent message tojtc
the tech-userlevel mailing list.
1994-12-11- Changed all internal libc references of {v,}err{x,} and {v,}warn{x,} tochristos
__{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.
1993-11-06update to latest version; va_list specification changes.cgd
1993-11-06Remove extra "eval" variables in warn() & warnx() function definitions;jtc
these variables were probably introduced by copying the definitions of err() & errx() when the functions were first implemented.
1993-10-13Use __dead instead of volatile.jtc
1993-08-26Declare rcsid strings so they are stored in text segment.jtc
1993-07-30Add even more RCS frobs.mycroft
1993-05-01Cleanup for GCC 2...mycroft
s/__dead/volatile/ (Does the format really exist in GCC 1?) s/va_list/_VA_LIST_/ (to match prototypes)
1993-04-30new err stuffglass