Commit Graph

27 Commits

Author SHA1 Message Date
christos 0ac50079c4 sync with mit/kerberos db 2016-09-24 20:11:43 +00:00
christos 115f51c7be add new internal functions 2013-12-01 00:23:11 +00:00
christos 1aa0fee779 use __type_fit() instead of locally brewed macro 2012-03-13 21:14:55 +00:00
joerg 40b37a3bf2 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@
2008-08-26 21:18:38 +00:00
christos fc500ab7fb Add macros for overflow detection 2007-02-03 23:48:21 +00:00
perry 5f65228b74 u_intN_t -> uintN_t 2005-12-26 19:01:47 +00:00
perry 19b7469a00 de-__P -- the hack is long since useless. Discussed with christos,
matt, kleink, others. Approved by christos.
2005-02-03 04:39:32 +00:00
agc 039cc95684 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22270, verified by myself.
2003-08-07 09:44:09 +00:00
kristerw a7c803af07 Remove variable names from prototypes. 2003-07-09 01:59:34 +00:00
itojun 3c0e2afcd7 do not define types like int32_t or u_int32_t locally. 2002-05-30 14:13:01 +00:00
scw c6a74378ae Modify the P_{16,32}_SWAP() macros to avoid unaligned 16 and 32 bit
memory accesses. This fixes a problem seen on the Shark when trying
to use the db(3) functions to access a BIG_ENDIAN btree.

For some reason, the db(3) regression tests fail to spot this problem
on the Shark...
1999-09-26 10:22:01 +00:00
christos 22c22ae31b delint. 1998-12-09 12:42:27 +00:00
christos 714fa78bc3 delint 1998-11-16 12:07:43 +00:00
kleink 23a9b2c5c9 Change the file mode argument to dbopen() and the db backends from int to
mode_t.
1998-05-07 19:24:20 +00:00
cgd 4d2cbfce0a new RCS ID format. 1994-10-26 00:55:40 +00:00
cgd ff937b6ef0 clean up import 1994-08-17 22:58:56 +00:00
cgd 32661c1f77 update to v1.72 of new DB code 1993-10-20 07:25:53 +00:00
cgd c74f1b9405 forgot the friggin' rcsid last time around. 1993-09-16 22:58:06 +00:00
cgd 45e27c8018 upgrade new DB code to version 1.7 1993-09-09 02:41:04 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
cgd 70a04c5a30 update db code to v1.6 from vangogh, and put it in "db" rather than "DB" 1993-06-14 23:51:26 +00:00
cgd 7a24140432 new vangogh db (v1.5) 1993-05-27 19:54:30 +00:00
proven 287b798815 Merged Charles's enhancements to SWAP macros into new db.h 1993-04-26 17:15:31 +00:00
proven e464122a01 Took out an include line. Libc should compile now. 1993-04-21 04:12:55 +00:00
proven e75cc16e77 Updated header files for libdb. 1993-04-18 21:48:37 +00:00
cgd e541169ce2 after 0.2.2 "stable" patches applied 1993-03-21 18:04:42 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00