Home | History | Annotate | only in /src/lib/libc/db/recno
History log of /src/lib/libc/db/recno
RevisionDateAuthorComments
 1.5 03-May-1996  cgd merge DB 1.85 changes
 1.4 27-Feb-1995  cgd add unintrusive Ids
 1.3 18-Aug-1994  cgd branches: 1.3.2;
clean up import
 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.1 17-Aug-1994  cgd update to db 1.79
 1.3.2.2 18-Aug-1994  cgd clean up import
 1.3.2.1 18-Aug-1994  cgd file Makefile.inc was added on branch netbsd-1-0 on 1994-08-18 00:41:57 +0000
 1.8 26-Aug-2008  joerg branches: 1.8.6;
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.7 03-Feb-2007  christos branches: 1.7.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.6 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.5 03-May-1996  cgd merge DB 1.85 changes
 1.4 27-Feb-1995  cgd add unintrusive Ids
 1.3 18-Aug-1994  cgd branches: 1.3.2;
clean up import
 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.1 17-Aug-1994  cgd update to db 1.79
 1.3.2.2 18-Aug-1994  cgd clean up import
 1.3.2.1 18-Aug-1994  cgd file extern.h was added on branch netbsd-1-0 on 1994-08-18 00:41:59 +0000
 1.7.12.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.8.6.2 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.8.6.1 26-Aug-2008  joerg file extern.h was added on branch christos-time_t on 2008-08-26 21:18:39 +0000
 1.15 11-Sep-2008  joerg branches: 1.15.6;
Consistently include "nbtool_config.h" when cross-compiling.
 1.14 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 03-Feb-2007  christos branches: 1.13.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.12 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.11 11-Nov-2002  thorpej Fix signed/unsigned comparison warnings.
 1.10 18-Aug-1998  thorpej branches: 1.10.12;
Add some braces to make egcs happy.
 1.9 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.8 13-Jul-1997  christos Fix RCSID's
Fix gcc warnings.
 1.7 03-May-1996  cgd branches: 1.7.2;
merge DB 1.85 changes
 1.6 27-Feb-1995  cgd add unintrusive Ids
 1.5 18-Aug-1994  cgd branches: 1.5.2; 1.5.4;
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.4.1 02-May-1995  jtc #include "namespace.h"
 1.5.2.2 18-Aug-1994  cgd clean up import
 1.5.2.1 18-Aug-1994  cgd file rec_close.c was added on branch netbsd-1-0 on 1994-08-18 00:42:02 +0000
 1.7.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.10.12.1 10-Dec-2002  thorpej Sync with HEAD.
 1.13.12.1 24-Sep-2008  wrstuden Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.
 1.15.6.2 11-Sep-2008  joerg Consistently include "nbtool_config.h" when cross-compiling.
 1.15.6.1 11-Sep-2008  joerg file rec_close.c was added on branch christos-time_t on 2008-09-11 12:58:01 +0000
 1.17 11-Sep-2008  joerg branches: 1.17.6;
Consistently include "nbtool_config.h" when cross-compiling.
 1.16 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.15 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.14 03-Feb-2007  christos branches: 1.14.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.13 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.12 04-Nov-2001  lukem fix WARNS=2 (-Wshadow) warnings
 1.11 09-Dec-1998  christos branches: 1.11.12;
delint
 1.10 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.9 13-Jul-1997  christos Fix RCSID's
Fix gcc warnings.
 1.8 03-May-1996  cgd branches: 1.8.2;
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-Feb-1994  pk Remove potential spoilsport.
 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.6.2.2 18-Aug-1994  cgd clean up import
 1.6.2.1 18-Aug-1994  cgd file rec_delete.c was added on branch netbsd-1-0 on 1994-08-18 00:42:05 +0000
 1.8.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.11.12.1 14-Nov-2001  nathanw Catch up to -current.
 1.14.12.2 24-Sep-2008  wrstuden Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.
 1.14.12.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.17.6.2 11-Sep-2008  joerg Consistently include "nbtool_config.h" when cross-compiling.
 1.17.6.1 11-Sep-2008  joerg file rec_delete.c was added on branch christos-time_t on 2008-09-11 12:58:01 +0000
 1.18 25-Dec-2013  christos fix bug in previous change (sz should be the size of the newly allocated
buffer).
 1.17 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.16 11-Sep-2008  joerg branches: 1.16.2; 1.16.6; 1.16.26;
Consistently include "nbtool_config.h" when cross-compiling.
 1.15 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 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.13 03-Feb-2007  christos branches: 1.13.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.12 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.11 30-Sep-2001  aymeric indx_t can be a 16 bit type, and is thus not suited to hold a difference
between two pointers in the general case. Replace it by ptrdiff_t.

-> recno databases can now handle records of more than 64KB
-> nvi can now handle files with lines bigger than 64KB

Problem and fix suggested by FreeBSD PR#9350
 1.10 21-Jul-1997  jtc branches: 1.10.12; 1.10.14;
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.9 13-Jul-1997  christos Fix RCSID's
Fix gcc warnings.
 1.8 03-May-1996  cgd branches: 1.8.2;
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 24-Feb-1994  cgd repeat after me: realloc, THEN assign pointer...
 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.6.2.2 18-Aug-1994  cgd clean up import
 1.6.2.1 18-Aug-1994  cgd file rec_get.c was added on branch netbsd-1-0 on 1994-08-18 00:42:08 +0000
 1.8.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.10.14.1 08-Oct-2001  nathanw Catch up to -current.
 1.10.12.1 27-Oct-2001  he Pull up revision 1.11 (requested by aymeric):
Use a ptrdiff_t instead of an indx_t to hold a difference between
a pair of pointers, since the latter can be a 16 bit data type.
The effects are that recno databases can now handle records larger
than 64KB, and nvi can now handle files with lines longer than
64KB.
 1.13.12.2 24-Sep-2008  wrstuden Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.
 1.13.12.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.16.26.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.16.6.2 11-Sep-2008  joerg Consistently include "nbtool_config.h" when cross-compiling.
 1.16.6.1 11-Sep-2008  joerg file rec_get.c was added on branch christos-time_t on 2008-09-11 12:58:01 +0000
 1.16.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")
 1.22 24-Sep-2016  christos remove mpool_getf
 1.21 24-Sep-2016  christos Merge the recursive tree traversal changes from the mit kerberos tree. This
Also make the tracefile customizable. Unfortunately we can't merge any of
the hash changes because they have a different on-disk format. That does not
matter really because we've fixed most of the problems...
 1.20 01-Dec-2013  christos branches: 1.20.8;
- centralize opening of regular and temp files to avoid code duplication
- don't cast malloc
- use malloc sizeof(*var) instead of sizeof(type)
 1.19 26-Jun-2011  christos branches: 1.19.2; 1.19.8;
put back some compat code for systems that don't have O_CLOEXEC.
 1.18 26-Jun-2011  christos use O_CLOEXEC
 1.17 11-Sep-2008  joerg branches: 1.17.6;
Consistently include "nbtool_config.h" when cross-compiling.
 1.16 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.15 03-Feb-2007  christos branches: 1.15.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.14 01-Jun-2005  lukem Ensure dbp is initialized to NULL before trying to use it in an error codepath.
Detected with gcc -Wuninitialized.
(The bug was introduced in rev 1.13. Hi Mycroft! :)
 1.13 19-Jan-2005  mycroft branches: 1.13.2;
hash already uses FD_CLOEXEC -- pay attention to the return value and make it
a hard failure.

Also make btree and recno uses FD_CLOEXEC.
 1.12 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.11 07-May-1998  kleink Change the file mode argument to dbopen() and the db backends from int to
mode_t.
 1.10 20-Feb-1998  mycroft Fill in missing (default) mmap(2) flags.
 1.9 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.8 13-Jul-1997  christos Fix RCSID's
Fix gcc warnings.
 1.7 03-May-1996  cgd branches: 1.7.2;
merge DB 1.85 changes
 1.6 27-Feb-1995  cgd add unintrusive Ids
 1.5 18-Aug-1994  cgd branches: 1.5.2; 1.5.4;
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.4.1 02-May-1995  jtc #include "namespace.h"
 1.5.2.2 18-Aug-1994  cgd clean up import
 1.5.2.1 18-Aug-1994  cgd file rec_open.c was added on branch netbsd-1-0 on 1994-08-18 00:42:10 +0000
 1.7.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.13.2.1 11-Jun-2005  tron Pull up revision 1.14 (requested by lukem in ticket #395):
Ensure dbp is initialized to NULL before trying to use it in an error codepath.
Detected with gcc -Wuninitialized.
(The bug was introduced in rev 1.13. Hi Mycroft! :)
 1.15.12.1 24-Sep-2008  wrstuden Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.
 1.17.6.2 11-Sep-2008  joerg Consistently include "nbtool_config.h" when cross-compiling.
 1.17.6.1 11-Sep-2008  joerg file rec_open.c was added on branch christos-time_t on 2008-09-11 12:58:01 +0000
 1.19.8.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.19.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")
 1.20.8.1 04-Nov-2016  pgoyette Sync with HEAD
 1.21 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.20 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.19 26-Jun-2011  christos branches: 1.19.2; 1.19.8;
- Fix bug copying only 1 byte instead of the whole page number. Broke nvi
joining lines that needed R_BIGDATA.
- Fix from FreeBSD for nrec IAFTER.
XXX: Should be pulled up to 5.x
 1.18 20-Jun-2011  mrg various build fixes for gcc 4.5. from chuq. XXX i'm not sure all of
these work properly wtf pointer aliasing, but there are no casts at
least...

the lib/libpuffs/puffs_priv.h is definately a real bug fix.

from chuq.
 1.17 11-Sep-2008  joerg branches: 1.17.6; 1.17.20;
Consistently include "nbtool_config.h" when cross-compiling.
 1.16 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.15 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.14 03-Feb-2007  christos branches: 1.14.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.13 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.12 11-Nov-2002  thorpej Fix signed/unsigned comparison warnings.
 1.11 09-Dec-1998  christos branches: 1.11.12;
delint
 1.10 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.9 13-Jul-1997  christos Fix RCSID's
Fix gcc warnings.
 1.8 03-May-1996  cgd branches: 1.8.2;
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 21-Feb-1994  cgd DTRT when recno db's are extended beyond current end of db
 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.6.2.2 18-Aug-1994  cgd clean up import
 1.6.2.1 18-Aug-1994  cgd file rec_put.c was added on branch netbsd-1-0 on 1994-08-18 00:42:13 +0000
 1.8.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.11.12.1 10-Dec-2002  thorpej Sync with HEAD.
 1.14.12.2 24-Sep-2008  wrstuden Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.
 1.14.12.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.17.20.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.17.6.2 11-Sep-2008  joerg Consistently include "nbtool_config.h" when cross-compiling.
 1.17.6.1 11-Sep-2008  joerg file rec_put.c was added on branch christos-time_t on 2008-09-11 12:58:01 +0000
 1.19.8.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.19.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")
 1.16 24-Sep-2016  christos remove mpool_getf
 1.15 24-Sep-2016  christos Merge the recursive tree traversal changes from the mit kerberos tree. This
Also make the tracefile customizable. Unfortunately we can't merge any of
the hash changes because they have a different on-disk format. That does not
matter really because we've fixed most of the problems...
 1.14 11-Sep-2008  joerg branches: 1.14.6; 1.14.44;
Consistently include "nbtool_config.h" when cross-compiling.
 1.13 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.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 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.10 30-Dec-2001  thorpej Fix -Wshadow warnings (gcc 3.1).
 1.9 21-Jul-1997  jtc branches: 1.9.14;
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.8 13-Jul-1997  christos Fix RCSID's
Fix gcc warnings.
 1.7 03-May-1996  cgd branches: 1.7.2;
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 17-Sep-1993  cgd version 1.71 of new db code
 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 rec_search.c was added on branch netbsd-1-0 on 1994-08-18 00:42:17 +0000
 1.7.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.9.14.1 28-Jan-2002  nathanw Catch up to -current.
 1.12.12.1 24-Sep-2008  wrstuden Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.
 1.14.44.1 04-Nov-2016  pgoyette Sync with HEAD
 1.14.6.2 11-Sep-2008  joerg Consistently include "nbtool_config.h" when cross-compiling.
 1.14.6.1 11-Sep-2008  joerg file rec_search.c was added on branch christos-time_t on 2008-09-11 12:58:01 +0000
 1.14 11-Sep-2008  joerg branches: 1.14.6;
Consistently include "nbtool_config.h" when cross-compiling.
 1.13 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.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 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.10 13-Sep-2000  msaitoh check LIBC_SCCS
 1.9 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.8 13-Jul-1997  christos Fix RCSID's
Fix gcc warnings.
 1.7 03-May-1996  cgd branches: 1.7.2;
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 rec_seq.c was added on branch netbsd-1-0 on 1994-08-18 00:42:19 +0000
 1.7.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.12.12.1 24-Sep-2008  wrstuden Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.
 1.14.6.2 11-Sep-2008  joerg Consistently include "nbtool_config.h" when cross-compiling.
 1.14.6.1 11-Sep-2008  joerg file rec_seq.c was added on branch christos-time_t on 2008-09-11 12:58:01 +0000
 1.15 14-May-2024  andvar fix recently committed typos by msaitoh in few more places, as well as few more.
mainly s/contigous/contiguous/ and s/miliseconds/milliseconds/ in comments.
 1.14 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.13 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.12 10-Sep-2008  joerg branches: 1.12.2; 1.12.6; 1.12.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.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 rec_utils.c was added on branch netbsd-1-0 on 1994-08-18 00:42:22 +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.1 24-Sep-2008  wrstuden Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.
 1.12.26.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.12.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.12.6.1 10-Sep-2008  joerg file rec_utils.c was added on branch christos-time_t on 2008-09-10 17:52:37 +0000
 1.12.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")
 1.6 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.5 03-May-1996  cgd merge DB 1.85 changes
 1.4 27-Feb-1995  cgd add unintrusive Ids
 1.3 18-Aug-1994  cgd branches: 1.3.2;
clean up import
 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.1 17-Aug-1994  cgd update to db 1.79
 1.3.2.2 18-Aug-1994  cgd clean up import
 1.3.2.1 18-Aug-1994  cgd file recno.h was added on branch netbsd-1-0 on 1994-08-18 00:42:24 +0000

RSS XML Feed