]> git.sur5r.net Git - openldap/commit
Provide global assert solution. <ac/assert.h> (new) is now included
authorKurt Zeilenga <kurt@openldap.org>
Sat, 20 Mar 1999 03:13:24 +0000 (03:13 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sat, 20 Mar 1999 03:13:24 +0000 (03:13 +0000)
commitf999e1350d0f0f18f6a7b297cb57db398f963878
treee229732ccfd1ac6a9b67c19d4001934049a30442
parentab64c237f7c6c838fa4be2203619c060ae80426a
Provide global assert solution.  <ac/assert.h> (new) is now included
by portable.h with NDEBUG undefined.  This makes assert() is always
available and automatically disables itself when LDAP_DEBUG is undefined.
I've included a basic assert() for pre-STDC compilers.  It relies on
abort() which may not actually be available.  (well replace abort()
with whatever is appropriate if and when we're faced with a pre-STDC
compiler that doesn't have assert()).
include/ac/assert.h [new file with mode: 0644]
include/portable.h.in
libraries/liblber/Makefile.in
libraries/liblber/assert.c [new file with mode: 0644]
libraries/liblber/io.c
libraries/liblber/sockbuf.c
servers/slapd/daemon.c
servers/slapd/operation.c
servers/slapd/slap.h