History log of /src/lib/libc/gen/assert.c |
Revision | | Date | Author | Comments |
1.18 |
| 15-May-2017 |
christos | Don't make assert use stdio; saves >100K on an empty static binary.
|
1.17 |
| 25-Jun-2012 |
abs | branches: 1.17.22; Update old-style definitions to ANSI, remove a couple of register definitions along the way. Fixed gcc 4.1 build (thank you vax)
|
1.16 |
| 09-Feb-2005 |
kleink | branches: 1.16.50; 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.
|
1.15 |
| 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.14 |
| 20-Feb-2001 |
cgd | nuke a last-minute addition in the getprogname() cleanup that didn't work.
|
1.13 |
| 19-Feb-2001 |
cgd | convert from __progname to getprogname()
|
1.12 |
| 03-Jan-2001 |
lukem | * 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
|
1.11 |
| 19-Dec-2000 |
christos | fix missing formatting escape.
|
1.10 |
| 19-Dec-2000 |
kleink | C99: Print the name of the function enclosing the assertion, if possible.
|
1.9 |
| 10-Dec-2000 |
christos | unnest nested extern declaration.
|
1.8 |
| 15-Sep-1999 |
lukem | 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...
|
1.7 |
| 13-Jul-1997 |
christos | Fix RCSID's
|
1.6 |
| 25-Feb-1995 |
cgd | clean up Id's on files previously imported...
|
1.5 |
| 17-May-1994 |
cgd | new assert helper
|
1.4 |
| 28-Jan-1994 |
jtc | Fix spelling error in Copyright notice
|
1.3 |
| 26-Aug-1993 |
jtc | Declare rcsid strings so they are stored in text segment.
|
1.2 |
| 30-Jul-1993 |
mycroft | Add even more RCS frobs.
|
1.1 |
| 16-Jun-1993 |
jtc | branches: 1.1.1; Make assert macro ansi complient.
|
1.1.1.1 |
| 16-May-1994 |
cgd | 4.4-Lite assert helper
|
1.16.50.1 |
| 30-Oct-2012 |
yamt | sync with head
|
1.17.22.1 |
| 19-May-2017 |
pgoyette | Resolve conflicts from previous merge (all resulting from $NetBSD keywork expansion)
|