Home | History | Annotate | Download | only in hash
History log of /src/lib/libc/db/hash/hash_buf.c
RevisionDateAuthorComments
 1.18  23-Apr-2009  christos correct cast to size_t.
 1.17  23-Apr-2009  agc Cast the arg to an unsigned value to let this compile
 1.16  22-Apr-2009  njoly Include string.h for memset prototype.
 1.15  22-Apr-2009  christos Avoid information leaks by zeroing memory, from FreeBSD (we had done some
already)
 1.14  10-Sep-2008  joerg branches: 1.14.4; 1.14.6; 1.14.8;
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.13  26-Aug-2008  joerg Convert db from UCB types to POSIX types. Prefer uint8_t for u_char as
it is mostly about the wire format.

Patched libc.so is bit-identical.

OK matt@
 1.12  03-Feb-2007  christos branches: 1.12.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.11  20-Jun-2004  jmc branches: 1.11.10; 1.11.14;
Completely rework how tools/compat is done. Purge all uses/references to
_NETBSD_SOURCE as this makes cross building from older/newer versions of
NetBSD harder, not easier (and also makes the resulting tools 'different')

Wrap all required code with the inclusion of nbtool_config.h, attempt to
only use POSIX code in all places (or when reasonable test w. configure and
provide definitions: ala u_int, etc).

Reviewed by lukem. Tested on FreeBSD 4.9, Redhat Linux ES3, NetBSD 1.6.2 x86
NetBSD current (x86 and amd64) and Solaris 9.

Fixes PR's: PR#17762 PR#25944
 1.10  07-Aug-2003  agc branches: 1.10.2;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.9  20-Apr-2003  christos PR/5996: ITOH Yasufumi: lib/libc/db/hash/* writes memory garbage to db file
Fixed by changing malloc's to calloc's where needed.
 1.8  09-Dec-1998  christos branches: 1.8.14;
delint
 1.7  13-Jul-1997  christos Fix RCSID's
Fix gcc warnings.
 1.6  03-May-1996  cgd merge DB 1.85 changes
 1.5  27-Feb-1995  cgd add unintrusive Ids
 1.4  18-Aug-1994  cgd branches: 1.4.2;
clean up import
 1.3  26-Aug-1993  jtc Declare rcsid strings so they are stored in text segment.
 1.2  01-Aug-1993  mycroft Add RCS identifiers.
 1.1  14-Jun-1993  cgd branches: 1.1.1;
update db code to v1.6 from vangogh, and put it in "db" rather than "DB"
 1.1.1.2  03-May-1996  cgd Import of Berkeley DB version 1.85
 1.1.1.1  17-Aug-1994  cgd update to db 1.79
 1.4.2.2  18-Aug-1994  cgd clean up import
 1.4.2.1  18-Aug-1994  cgd file hash_buf.c was added on branch netbsd-1-0 on 1994-08-18 00:41:00 +0000
 1.8.14.1  06-Apr-2004  jmc Pullup rev 1.9 (requested by bouyer in ticket #1651)

lib/libc/db/hash/* writes memory garbage to db file.
Fixed by changing malloc's to calloc's where needed. PR#5996
 1.10.2.1  22-Jun-2004  tron Pull up revision 1.11 (requested by jmc in ticket #527):
Completely rework how tools/compat is done. Purge all uses/references to
_NETBSD_SOURCE as this makes cross building from older/newer versions of
NetBSD harder, not easier (and also makes the resulting tools 'different')
Wrap all required code with the inclusion of nbtool_config.h, attempt to
only use POSIX code in all places (or when reasonable test w. configure and
provide definitions: ala u_int, etc).
Reviewed by lukem. Tested on FreeBSD 4.9, Redhat Linux ES3, NetBSD 1.6.2 x86
NetBSD current (x86 and amd64) and Solaris 9.
Fixes PR's: PR#17762 PR#25944
 1.11.14.3  30-Apr-2009  bouyer Pull up following revision(s) (requested by hauke in ticket #1311):
lib/libc/db/hash/hash_buf.c: revision 1.17, 1.18
lib/libc/db/hash/hash_buf.c: revision 1.18
Fix build fallout from ticket 1310
 1.11.14.2  23-Apr-2009  snj Pull up following revision(s) (requested by christos in ticket #1310):
lib/libc/db/hash/hash_buf.c: revision 1.16 via patch
Include string.h for memset prototype.
 1.11.14.1  23-Apr-2009  snj Pull up following revision(s) (requested by christos in ticket #1310):
lib/libc/db/btree/bt_split.c: revision 1.19
lib/libc/db/hash/hash_buf.c: revision 1.15
lib/libc/db/mpool/mpool.c: revision 1.19
Avoid information leaks by zeroing memory, from FreeBSD (we had done some
already)
 1.11.10.3  30-Apr-2009  bouyer Pull up following revision(s) (requested by hauke in ticket #1311):
lib/libc/db/hash/hash_buf.c: revision 1.17, 1.18
lib/libc/db/hash/hash_buf.c: revision 1.18
Fix build fallout from ticket 1310
 1.11.10.2  23-Apr-2009  snj Pull up following revision(s) (requested by christos in ticket #1310):
lib/libc/db/hash/hash_buf.c: revision 1.16 via patch
Include string.h for memset prototype.
 1.11.10.1  23-Apr-2009  snj Pull up following revision(s) (requested by christos in ticket #1310):
lib/libc/db/mpool/mpool.c: revision 1.19
lib/libc/db/hash/hash_buf.c: revision 1.15
lib/libc/db/btree/bt_split.c: revision 1.19
Avoid information leaks by zeroing memory, from FreeBSD (we had done some
already)
 1.12.12.2  24-Sep-2008  wrstuden Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.
 1.12.12.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.14.8.1  13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.14.6.2  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.14.6.1  10-Sep-2008  joerg file hash_buf.c was added on branch christos-time_t on 2008-09-10 17:52:36 +0000
 1.14.4.4  23-Apr-2009  snj Pull up following revision(s) (requested by agc in ticket #723):
lib/libc/db/hash/hash_buf.c: revision 1.18
correct cast to size_t.
 1.14.4.3  23-Apr-2009  snj Pull up following revision(s) (requested by agc in ticket #723):
lib/libc/db/hash/hash_buf.c: revision 1.17
Cast the arg to an unsigned value to let this compile
 1.14.4.2  23-Apr-2009  snj Pull up following revision(s) (requested by christos in ticket #719):
lib/libc/db/hash/hash_buf.c: revision 1.16
Include string.h for memset prototype.
 1.14.4.1  23-Apr-2009  snj Pull up following revision(s) (requested by christos in ticket #719):
lib/libc/db/btree/bt_split.c: revision 1.19
lib/libc/db/hash/hash_buf.c: revision 1.15
lib/libc/db/mpool/mpool.c: revision 1.19
Avoid information leaks by zeroing memory, from FreeBSD (we had done some
already)

RSS XML Feed