summaryrefslogtreecommitdiff
path: root/lib/libc/gen/assert.c
AgeCommit message (Collapse)Author
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.
2001-02-20nuke a last-minute addition in the getprogname() cleanup that didn't work.cgd
2001-02-19convert from __progname to getprogname()cgd
2001-01-03* Change __diagassert13() so that by default it only syslogs the error (itlukem
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
2000-12-19fix missing formatting escape.christos
2000-12-19C99: Print the name of the function enclosing the assertion, if possible.kleink
2000-12-10unnest nested extern declaration.christos
1999-09-15implement __diagassert(). currently this just prints the assertion tolukem
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...
1997-07-13Fix RCSID'schristos
1995-02-25clean up Id's on files previously imported...cgd
1994-05-17new assert helpercgd
1994-01-28Fix spelling error in Copyright noticejtc
1993-08-26Declare rcsid strings so they are stored in text segment.jtc
1993-07-30Add even more RCS frobs.mycroft
1993-06-16Make assert macro ansi complient.jtc