aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/db/hash
Commit message (Expand)AuthorAgeFilesLines
* db/hash.c: Fix flag check in hash_seqBojan Novković2025-08-011-1/+1
* dbm_nextkey: Always return an error if we've reached the end of the databaseBojan Novković2025-07-311-2/+4
* db/hash.c: Allow O_WRONLY in dbm_openBojan Novković2025-07-301-6/+9
* db/hash.c: Do not return an error when opening a missing database with O_CREATBojan Novković2025-07-251-1/+2
* Remove residual blank line at start of MakefileWarner Losh2024-07-151-1/+0
* lib: Remove ancient SCCS tags.Warner Losh2023-11-2712-29/+0
* libc: Purge unneeded cdefs.hWarner Losh2023-11-017-7/+0
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-162-2/+0
* Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-167-14/+0
* Remove $FreeBSD$: one-line .h patternWarner Losh2023-08-163-3/+0
* libc: Use secure_getenv(3) where appropriateMark Johnston2023-03-271-3/+2
* 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