Home | History | Annotate | Download | only in btree
History log of /src/lib/libc/db/btree/bt_utils.c
RevisionDateAuthorComments
 1.16  14-Dec-2013  christos It's been many years since realloc(NULL, size) == malloc(size). Also don't
destroy pointers on allocation errors so someone can free them later.
 1.15  01-Dec-2013  christos - centralize opening of regular and temp files to avoid code duplication
- don't cast malloc
- use malloc sizeof(*var) instead of sizeof(type)
 1.14  04-Sep-2013  ryoon Fix typos from FreeMiNT's db-1.86 patch.
 1.13  10-Sep-2008  joerg branches: 1.13.2; 1.13.6; 1.13.26;
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.12  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.11  03-Feb-2007  christos branches: 1.11.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.10  20-Jun-2004  jmc 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.9  07-Aug-2003  agc branches: 1.9.2;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.8  13-Jul-1997  christos Fix RCSID's
Fix gcc warnings.
 1.7  03-May-1996  cgd merge DB 1.85 changes
 1.6  27-Feb-1995  cgd add unintrusive Ids
 1.5  18-Aug-1994  cgd branches: 1.5.2;
clean up import
 1.4  09-Sep-1993  cgd upgrade new DB code to version 1.7
 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.5.2.2  18-Aug-1994  cgd clean up import
 1.5.2.1  18-Aug-1994  cgd file bt_utils.c was added on branch netbsd-1-0 on 1994-08-18 00:40:19 +0000
 1.9.2.1  22-Jun-2004  tron Pull up revision 1.10 (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.12.2  24-Sep-2008  wrstuden Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.
 1.11.12.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.13.26.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.13.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.13.6.1  10-Sep-2008  joerg file bt_utils.c was added on branch christos-time_t on 2008-09-10 17:52:36 +0000
 1.13.2.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")

RSS XML Feed