History log of /netbsd-src/include/ndbm.h (Results 1 – 15 of 15)
Revision Date Author Comments
# 98eb8895 03-Feb-2010 roy <roy@NetBSD.org>

Userland now builds and uses terminfo instead of termcap.

OK: core@, jdc@


# 66412e72 13-Sep-2005 christos <christos@NetBSD.org>

compat code reorg


# dbfbef89 28-Apr-2004 kleink <kleink@NetBSD.org>

XPG4.2: Change member `dsize' of struct datum from int to size_t.
Version dbm_{delete,fetch,firstkey,nextkey,store}() accordingly.
Fixes PRs standards/21402 from Ben Harris and standards/25343 from
M

XPG4.2: Change member `dsize' of struct datum from int to size_t.
Version dbm_{delete,fetch,firstkey,nextkey,store}() accordingly.
Fixes PRs standards/21402 from Ben Harris and standards/25343 from
Murray Armfield.

show more ...


# cd7b32a9 27-Apr-2004 kleink <kleink@NetBSD.org>

Un-__P().


# 22c4c0ea 27-Apr-2004 kleink <kleink@NetBSD.org>

Remove declaration of dbm_forder(), which is not implemented.


# 039cc956 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 22270, verified by myself.


# 4be7a2dc 28-Apr-2003 bjh21 <bjh21@NetBSD.org>

Add a new feature-test macro, _NETBSD_SOURCE. If this is defined
by the application, all NetBSD interfaces are made visible, even
if some other feature-test macro (like _POSIX_C_SOURCE) is defined.

Add a new feature-test macro, _NETBSD_SOURCE. If this is defined
by the application, all NetBSD interfaces are made visible, even
if some other feature-test macro (like _POSIX_C_SOURCE) is defined.
<sys/featuretest.h> defined _NETBSD_SOURCE if none of _ANSI_SOURCE,
_POSIX_C_SOURCE and _XOPEN_SOURCE is defined, so as to preserve
existing behaviour.

This has two major advantages:
+ Programs that require non-POSIX facilities but define _POSIX_C_SOURCE
can trivially be overruled by putting -D_NETBSD_SOURCE in their CFLAGS.
+ It makes most of the #ifs simpler, in that they're all now ORs of the
various macros, rather than having checks for (!defined(_ANSI_SOURCE) ||
!defined(_POSIX_C_SOURCE) || !defined(_XOPEN_SOURCE)) all over the place.

I've tried not to change the semantics of the headers in any case where
_NETBSD_SOURCE wasn't defined, but there were some places where the
current semantics were clearly mad, and retaining them was harder than
correcting them. In particular, I've mostly normalised things so that
_ANSI_SOURCE gets you the smallest set of stuff, then _POSIX_C_SOURCE,
_XOPEN_SOURCE and _NETBSD_SOURCE in that order.

Tested by building for vax, encouraged by thorpej, and uncontested in
tech-userlevel for a week.

show more ...


# 813b1610 07-Jul-2000 ad <ad@NetBSD.org>

Pull in <sys/cdefs.h>, since we're using __BEGIN_DECLS/__END_DECLS.


# 62bbd8ee 07-May-1998 kleink <kleink@NetBSD.org>

Reorganize name space protecion. Also, change file mode argument to
dbm_open() from int to mode_t.


# 9cba2b41 20-Jul-1995 jtc <jtc@NetBSD.org>

prototype dbm_error and dbm_clearerr


# 4d2cbfce 26-Oct-1994 cgd <cgd@NetBSD.org>

new RCS ID format.


# e9d867ef 01-Aug-1993 mycroft <mycroft@NetBSD.org>

Add RCS identifiers.


# 70a04c5a 14-Jun-1993 cgd <cgd@NetBSD.org>

update db code to v1.6 from vangogh, and put it in "db" rather than "DB"


# e75cc16e 18-Apr-1993 proven <proven@NetBSD.org>

Updated header files for libdb.


# 61f28255 21-Mar-1993 cgd <cgd@NetBSD.org>

initial import of 386bsd-0.1 sources