History log of /netbsd/lib/libc/gen/assert.c (Results 1 – 18 of 18)
Revision Date Author Comments
# f75046dd 15-May-2017 christos <christos@NetBSD.org>

Don't make assert use stdio; saves >100K on an empty static binary.


# 90275da6 25-Jun-2012 abs <abs@NetBSD.org>

Update old-style definitions to ANSI, remove a couple of register
definitions along the way. Fixed gcc 4.1 build (thank you vax)


# fd5cb0ac 09-Feb-2005 kleink <kleink@NetBSD.org>

A little libc namespace housekeeping exercise:
* Make vfprintf_unlocked() an internal function, c.f. __svfscanf_unlocked().
* Add internal names for arc4random(), endnetpath(), fhstatvfs(),
fstatvf

A little libc namespace housekeeping exercise:
* Make vfprintf_unlocked() an internal function, c.f. __svfscanf_unlocked().
* Add internal names for arc4random(), endnetpath(), fhstatvfs(),
fstatvfs(), mkstemp(), shquote(), statvfs(), taddr2uaddr(), uaddr2taddr(),
uuid_create_nil(), uuid_is_nil(), and wcwidth().
* Include namespace.h where supposed to.

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.


# 6ec85a49 20-Feb-2001 cgd <cgd@NetBSD.org>

nuke a last-minute addition in the getprogname() cleanup that didn't work.


# 6b25d775 19-Feb-2001 cgd <cgd@NetBSD.org>

convert from __progname to getprogname()


# aa330a1e 03-Jan-2001 lukem <lukem@NetBSD.org>

* Change __diagassert13() so that by default it only syslogs the error (it
used to syslog and also send to stderr).

This behaviour can be changed by setting $LIBC_DIAGASSERT to a
string contai

* Change __diagassert13() so that by default it only syslogs the error (it
used to syslog and also send to stderr).

This behaviour can be changed by setting $LIBC_DIAGASSERT to a
string containing one or more of the following letters:
a abort() after syslog and/or print to stderr
A opposite of a
e print assertion message to stderr
E opposite of e
l log assertion message to syslog
L opposite of l

This allows per-process control of the _DIAGASSERT() behaviour (e.g,
if you want to abort() after the assertion is raised) by modifying the
environment before starting the process.

Note that __DIAGASSERT() is still a no-op unless libc is compiled
with -D_DIAGNOSTIC.

* Implement __assert()/__diagassert() by calling __assert13()/__diagassert13()
with a function of NULL, reducing unnecessary code duplication

show more ...


# 5b7386b2 19-Dec-2000 christos <christos@NetBSD.org>

fix missing formatting escape.


# f02540ff 19-Dec-2000 kleink <kleink@NetBSD.org>

C99: Print the name of the function enclosing the assertion, if possible.


# f92dc9c4 10-Dec-2000 christos <christos@NetBSD.org>

unnest nested extern declaration.


# 8423dd34 15-Sep-1999 lukem <lukem@NetBSD.org>

implement __diagassert(). currently this just prints the assertion to
stderr and syslog()s to user.debug. (it does not abort).

XXX: implement a scheme similar to $MALLOC_OPTIONS which gives the
user

implement __diagassert(). currently this just prints the assertion to
stderr and syslog()s to user.debug. (it does not abort).

XXX: implement a scheme similar to $MALLOC_OPTIONS which gives the
user control over whether to stderr, syslog, abort, do nothing, etc...

show more ...


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

Fix RCSID's


# 2c4d3c4c 25-Feb-1995 cgd <cgd@NetBSD.org>

clean up Id's on files previously imported...


# b55fd24a 17-May-1994 cgd <cgd@NetBSD.org>

new assert helper


# b9db1b67 28-Jan-1994 jtc <jtc@NetBSD.org>

Fix spelling error in Copyright notice


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


# 7fb7e975 16-Jun-1993 jtc <jtc@NetBSD.org>

Make assert macro ansi complient.