aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/db/hash
Commit message (Expand)AuthorAgeFilesLines
* General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-2010-0/+20
* Renumber copyright clause 4Warner Losh2017-02-2810-10/+10
* hash(3): protect in-memory page when using cross-endianness.Pedro F. Giffuni2016-09-261-4/+9
* Fix prototype of dbm_open().Ed Schouten2016-05-311-1/+1
* libc: make more use of the howmany() macro when available.Pedro F. Giffuni2016-04-261-2/+1
* libc: use our roundup2/rounddown2() macros when param.h is available.Pedro F. Giffuni2016-04-201-1/+1
* libc: replace 0 with NULL for pointers.Pedro F. Giffuni2016-04-102-3/+3
* Follow-up r295924: Only sync hash-based db files open for writing when closing.Bryan Drewery2016-04-061-1/+2
* If we close or sync a hash-based db file, make sure to call fsync toDavid Malone2016-02-231-1/+5
* Use intptr_t note ptrdiff_t when storing flags in the bottom bits ofBrooks Davis2016-01-292-6/+6
* Use ANSI C prototypes. Eliminates -Wold-style-definition warnings.Craig Rodrigues2015-09-201-25/+10
* Switch libc from using _sig{procmask,action,suspend} symbols, whichKonstantin Belousov2015-08-291-2/+3
* Drop some unnecessary casts.Pedro F. Giffuni2015-05-181-4/+3
* Replace use of ${.CURDIR} by ${LIBC_SRCTOP} and define ${LIBC_SRCTOP}Marcel Moolenaar2014-03-041-1/+1
* db: Use O_CLOEXEC instead of separate fcntl() call.Jilles Tjoelker2013-08-131-3/+1
* db/hash: Use O_CLOEXEC instead of separate fcntl() call.Jilles Tjoelker2013-08-111-2/+1
* libc/db/hash: cap auto-tuned block size with a value that actually worksAndriy Gapon2010-04-052-1/+3
* Consider flag == 0 as the same of flag == R_NEXT. This change will restoreXin LI2009-08-241-2/+2
* Add some casts to silence compiler warning about signedness.Xin LI2009-03-281-1/+1
* Minor changes from Berkeley DB 1.86 and further improvements from OpenBSD.Xin LI2009-03-282-67/+44
* Plug memory leaks and a potential NULL dereference.Xin LI2009-03-281-4/+12
* Simplify the logic when determining whether to zero out a db file to afterXin LI2009-03-281-15/+5
* - If (keysize+datasize)%(bsize=14)==0, insertion of a `big key' would causeXin LI2009-03-281-6/+18
* Avoid NULL deference which causes DEBUG1 to crash, not to print usefulXin LI2009-03-281-1/+1
* - Avoid overwriting the cursor page when the cursor page becomes theXin LI2009-03-281-1/+21
* Fix a crash when iterating over a hash and removing its elements.Xin LI2009-03-282-11/+21
* Only squeeze a short key/value pair onto a page with other complete key/valueXin LI2009-03-281-3/+9
* Diff reduce against OpenBSD, no functional change.Xin LI2009-03-282-12/+6
* Return meaningful errno in overflow case; print error message to stderrXin LI2009-03-281-1/+7
* Use pread(2) and pwrite(2) instead of lseek(2) + read(2) / write(2).Xin LI2009-03-282-6/+3
* db/btree/bt_open.c: check return value of snprintf() and return valueXin LI2009-03-281-4/+15
* Several signed/unsigned warning fixes.Xin LI2009-03-284-10/+12
* When allocating memory, zero out them if we don't intend to overwrite themXin LI2009-03-281-9/+6
* Explicitly specify bit width for on-disk data structure.Xin LI2009-03-041-17/+17
* Style changes (including additional casts to shut up warnings). ThisXin LI2009-03-042-10/+8
* Diff reduction against OpenBSD: ANSI'fy prototypes.Xin LI2009-03-025-213/+101
* The usage of "info" in init_hash() is read-only, so constifyXin LI2007-05-251-3/+3
* Per Regents of the University of Calfornia letter, remove advertisingWarner Losh2007-01-0910-40/+0
* Fix format strings to unbreak with -DDEBUG option.Jun Kuriyama2004-09-101-1/+1
* Eliminate 61 warnings emitted at WARNS=2 (leaving 53 to go).Jacques Vidrine2003-02-162-4/+5
* libc_r wasn't so tied to libc for 22 months.Ruslan Ermilov2002-11-181-1/+1
* Fix the style of the SCM ID's.David E. O'Brien2002-03-221-0/+1
* Fix the style of the SCM ID's.David E. O'Brien2002-03-221-0/+2
* Remove multi-line __P() usage.David E. O'Brien2002-03-222-3/+3
* Remove __P() usage.David E. O'Brien2002-03-217-53/+54
* Remove 'register' keyword.David E. O'Brien2002-03-216-72/+78
* Add new, from scratch implementation of hsearch() et al that actually works.Ruslan Ermilov2001-05-152-110/+1
* Fix typo: compatability -> compatibility.Jeroen Ruigrok van der Werven2001-02-061-1/+2
* Remove _THREAD_SAFE and make libc thread-safe by default byDaniel Eischen2001-01-243-5/+11
* cleanup the tsearch import.Alfred Perlstein2000-07-062-53/+4