summaryrefslogtreecommitdiffstats
path: root/lib/libc/db/btree (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove NULL-checks before free() and a few related dead assignments.mmcc2015-12-281-3/+2
| | | | ok and valuable input from millert@
* Use static and __{BEGIN,ENV}_HIDDEN_DECLS to hide a bunch of internalguenther2015-08-271-3/+3
| | | | | | symbols that are not longer exported. (This improves the generated code.) ok deraadt@
* remove the stubby not working mmaped file support. ok sthen (long ago)tedu2015-07-161-2/+1
|
* tidy up by inlining next level included makefilestedu2015-04-061-7/+0
| | | | ok deraadt guenther
* Move to the <limits.h> universe.deraadt2015-01-165-19/+13
| | | | review by millert, binary checking process with doug, concept with guenther
* Pass O_CLOEXEC to open() or mkostemp() instead of setting FD_CLOEXEC afterwardsguenther2014-09-151-6/+3
| | | | ok miod@
* one calloc from Benjamin Baier, one from me.tedu2014-05-251-5/+3
|
* Use PATH_MAX, NAME_MAX and LOGIN_NAME_MAX not MAXPATHNAMELEN,millert2013-09-301-3/+2
| | | | MAXNAMLEN or MAXLOGNAME where possible. OK deraadt@
* use FD_CLOEXEC instead of 1; from David Hillokan2013-04-291-2/+2
| | | | ok otto
* Check snprintf(3) return value for error or truncation.moritz2007-09-171-5/+11
| | | | | | Mostly path construction, where truncation could be bad. ok and input from deraadt@ millert@ ray@
* Let realloc handle NULL. Initial diff from Charles Longeau.ray2007-08-082-8/+5
| | | | OK millert and jaredy.
* zap remaining rcsid.espie2005-08-081-9/+1
| | | | | | Kill old files that are no longer compiled. okay theo
* zap rcsidespie2005-08-0512-108/+12
|
* ansify. ok deraadt@ moritz@otto2005-03-2313-199/+76
|
* deregistermillert2005-01-031-6/+6
|
* Avoid namespace pollution by renaming index variables -> idx.millert2005-01-034-77/+77
| | | | Idea from NetBSD; OK deraadt@
* Make a u_int32_t-sized copy of data->size and key->size (which are size_t)millert2005-01-031-5/+7
| | | | | so when we memmove() it we get the correct 32 bits copied on sparc64. Adapted from FreeBSD. OK otto@
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-0215-103/+43
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* -Wall cleanup, make rcsid variables constavsm2003-05-0113-26/+26
| | | | millert@ ok
* Cosmetic changes such as correct printf format specifiers on LP64millert2002-02-253-37/+34
| | | | machines and whitespace nits. Some from NetBSD.
* Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)millert2002-02-171-3/+3
|
* Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2002-02-1610-71/+71
|
* Fix a condition where the hole would be inserted in the wrong place during amillert2002-02-011-4/+4
| | | | split; mycroft@netbsd.org
* return 0, not NULL, the function returns an intart2001-09-161-3/+3
|
* bt_open.c: parenthesize - and & proper (from freebsd);mickey2000-10-031-6/+6
| | | | | | hash_bigkey.c: fix NULL dereference exposed on big bsize values; hash_buf.c: fix DEBUG1 cases to make them print, not crash; hash.3: document real default values for bsize and ffactor.
* o Minor changes from db.1.86 (sleepycat). Does not include the new hashmillert1999-02-1515-33/+116
| | | | | | | routines since they cannot read a hashed .db file from the old code. Most of these files just have their RCS/SCCS tags standardized. Note that mpool.3 has not been updated to reflect the new mpool interface. o Add a real dbm(3) manpage
* Add thread-safety to libc, so that libc_r will build (on i386 at least).d1998-11-201-2/+2
| | | | | | | | | | | | | All POSIX libc api now there (to P1003.1c/D10) (more md stuff is needed for other libc/arch/*) (setlogin is no longer a special syscall) Add -pthread option to gcc (that makes it use -lc_r and -D_POSIX_THREADS). Doc some re-entrant routines Add libc_r to intro(3) dig() uses some libc srcs and an extra -I was needed there. Add more md stuff to libc_r. Update includes for the pthreads api Update libc_r TODO
* do not toss memory dribble into the output files (small performance loss)deraadt1998-08-281-3/+1
|
* realloc repairderaadt1998-08-141-3/+5
|
* some -Wallmillert1998-03-192-5/+6
|
* Bug fixes from Sleepycat Software for db_btree databases; for some cornerderaadt1997-11-132-4/+7
| | | | cases in splitting pages, and for correctly updating data base metadata.
* tabifykstailey1997-07-232-4/+4
|
* use issetugid() to protect against bad getenvderaadt1996-08-261-3/+4
|
* Fix RCS idstholo1996-08-1916-99/+16
| | | | Make sure everything uses {SYS,}LIBC_SCCS properly
* Not part of current db distributiontholo1996-08-191-0/+0
|
* db release 1.85deraadt1996-05-0717-984/+1167
|
* initial import of NetBSD treederaadt1995-10-1817-0/+4704