Home | History | Annotate | Download | only in hash
History log of /src/lib/libc/db/hash/ndbm.c
RevisionDateAuthorComments
 1.23  11-Sep-2008  joerg branches: 1.23.6;
Consistently include "nbtool_config.h" when cross-compiling.
 1.22  10-Sep-2008  joerg In preparation for providing a db fallback in libnbcompat, remove
sccsid and conditionals around __RCSID. lint understands __RCSID enough
to ignore it, undefining LIBC_SCCS is superseded by MKSTRIPIDENT.
No functional changes.
 1.21  03-Feb-2007  christos branches: 1.21.12;
cleanup:
- remove __P
- remove unneeded casts
- add _DIAGASSERT
- add more diagnostics for integer overflow
- fix size_t/int confusion
- make debugging and statistics code compile
 1.20  13-Sep-2005  christos compat core reorg.
 1.19  28-Apr-2004  kleink 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.
 1.18  27-Apr-2004  kleink Remove internal names for dbm_*(3); these are not required at this time.
 1.17  07-Aug-2003  agc branches: 1.17.2;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.16  22-Jan-2000  mycroft Delint.
Remove trailing ; from uses of __weak_alias(). The macro inserts this if
needed.
 1.15  09-Dec-1998  christos delint
 1.14  07-May-1998  kleink Change the file mode argument to dbm_open() from int to mode_t.
 1.13  21-Jul-1997  jtc If port provides __weak_alias(), provide an Standard C and POSIX pure
identifier namespace by renaming non standard functions and variables
such that they have a leading underscore. The library will use those
names internally. Weak aliases are used to provide the original names
to the API.

This is only the first part of this change. It is most of the functions
which are implemented in C for all NetBSD ports. Subsequent changes are
to add the same support to the remaining C files, to assembly files, and
to the automagically generated assembly source used for system calls.
When all of the above is done, ports with weak alias support should add
a definition for __weak_alias to <sys/cdefs.h>.
 1.12  13-Jul-1997  christos Fix RCSID's
Fix gcc warnings.
 1.11  23-Jan-1997  mrg - convert unsafe strcpy(), strcat() and sprintf() to the `n' versions.
- some KNF.
 1.10  07-Nov-1996  jtc Rename the errno field in struct htab to err, as the former name
conflicts with a macro implementation of errno.h's errno.
 1.9  04-May-1996  cgd branches: 1.9.2;
fix a bug that shows up only on alphas: ndbm "datum" variables can't be
cast to DBTs, because the 'size' fields are int and size_t,
respectively, and that means that the DBT size field would be
partially filled with garbage on the Alpha. Bug fix sent to bostic.
 1.8  03-May-1996  cgd merge DB 1.85 changes
 1.7  27-Feb-1995  cgd add unintrusive Ids
 1.6  18-Aug-1994  cgd branches: 1.6.2;
clean up import
 1.5  17-Sep-1993  cgd version 1.71 of new db code
 1.4  26-Aug-1993  jtc Declare rcsid strings so they are stored in text segment.
 1.3  01-Aug-1993  mycroft Add RCS identifiers.
 1.2  14-Jun-1993  cgd update db code to v1.6 from vangogh, and put it in "db" rather than "DB"
 1.1  21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.3  03-May-1996  cgd Import of Berkeley DB version 1.85
 1.1.1.2  17-Aug-1994  cgd update to db 1.79
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.6.2.2  18-Aug-1994  cgd clean up import
 1.6.2.1  18-Aug-1994  cgd file ndbm.c was added on branch netbsd-1-0 on 1994-08-18 00:41:16 +0000
 1.9.2.1  16-Sep-1996  jtc snapshot namespace cleanup
 1.17.2.1  30-Apr-2004  jmc Pullup patch (requested by kleink in ticket #240)

XPG4.2: when it is attempted to open a database write-only, silently
"upgrade" to use read/write access on the database file.
 1.21.12.1  24-Sep-2008  wrstuden Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.
 1.23.6.2  11-Sep-2008  joerg Consistently include "nbtool_config.h" when cross-compiling.
 1.23.6.1  11-Sep-2008  joerg file ndbm.c was added on branch christos-time_t on 2008-09-11 12:58:01 +0000

RSS XML Feed