summaryrefslogtreecommitdiff
path: root/lib/libc/db/hash/hash.c
AgeCommit message (Expand)Author
2025-08-01db/hash.c: Fix flag check in hash_seqBojan Novković
2025-07-31dbm_nextkey: Always return an error if we've reached the end of the databaseBojan Novković
2025-07-30db/hash.c: Allow O_WRONLY in dbm_openBojan Novković
2025-07-25db/hash.c: Do not return an error when opening a missing database with O_CREATBojan Novković
2023-11-26lib: Remove ancient SCCS tags.Warner Losh
2023-11-01libc: Purge unneeded cdefs.hWarner Losh
2023-08-16Remove $FreeBSD$: one-line .c patternWarner Losh
2017-11-20General further adoption of SPDX licensing ID tags.Pedro F. Giffuni
2017-02-28Renumber copyright clause 4Warner Losh
2016-04-26libc: make more use of the howmany() macro when available.Pedro F. Giffuni
2016-04-10libc: replace 0 with NULL for pointers.Pedro F. Giffuni
2016-04-06Follow-up r295924: Only sync hash-based db files open for writing when closing.Bryan Drewery
2016-02-23If we close or sync a hash-based db file, make sure to call fsync toDavid Malone
2015-05-18Drop some unnecessary casts.Pedro F. Giffuni
2013-08-11db/hash: Use O_CLOEXEC instead of separate fcntl() call.Jilles Tjoelker
2010-04-05libc/db/hash: cap auto-tuned block size with a value that actually worksAndriy Gapon
2009-08-24Consider flag == 0 as the same of flag == R_NEXT. This change will restoreXin LI
2009-03-28Plug memory leaks and a potential NULL dereference.Xin LI
2009-03-28Simplify the logic when determining whether to zero out a db file to afterXin LI
2009-03-28Fix a crash when iterating over a hash and removing its elements.Xin LI
2009-03-28Diff reduce against OpenBSD, no functional change.Xin LI
2009-03-28Use pread(2) and pwrite(2) instead of lseek(2) + read(2) / write(2).Xin LI
2009-03-28Several signed/unsigned warning fixes.Xin LI
2009-03-02Diff reduction against OpenBSD: ANSI'fy prototypes.Xin LI
2007-05-25The usage of "info" in init_hash() is read-only, so constifyXin LI
2007-01-09Per Regents of the University of Calfornia letter, remove advertisingWarner Losh
2004-09-10Fix format strings to unbreak with -DDEBUG option.Jun Kuriyama
2002-03-21Remove __P() usage.David E. O'Brien
2002-03-21Remove 'register' keyword.David E. O'Brien
2001-01-24Remove _THREAD_SAFE and make libc thread-safe by default byDaniel Eischen
2000-01-27Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(),Jason Evans
2000-01-12Add three-tier symbol naming in support of POSIX thread cancellationJason Evans
1996-07-12General -Wall warning cleanup, part I.Jordan K. Hubbard
1996-02-27Fix conflicts and merge into mainlinePaul Traina
1996-02-25move stat behind open to cover corner casePaul Traina
1996-02-23If a .db file is 0 length, initialize it as if it did not exist.Paul Traina
1996-01-22Reviewed by: julian and (hsu?)Julian Elischer
1994-05-27BSD 4.4 Lite Lib SourcesRodney W. Grimes