summaryrefslogtreecommitdiff
path: root/lib/libc/db
AgeCommit message (Collapse)Author
2014-11-15Reduce instances of `` '' in manuals.Anthony J. Bentley
troff displays these as typographic quotes, but nroff implementations almost always print them literally, which rarely has the intended effect with modern fonts, even in stock xterm. These uses of `` '' can be replaced either with more semantic alternatives or with Dq, which prints typographic quotes in a UTF-8 locale (but will automatically fall back to `` '' in an ASCII locale). improvements and ok schwarze@
2014-10-17trivial sync of the first sentence of the DESCRIPTIONIngo Schwarze
with btree(3) and recno(3); from jean-philippe at ouellet dot biz
2014-09-15Pass O_CLOEXEC to open() or mkostemp() instead of setting FD_CLOEXEC afterwardsPhilip Guenther
ok miod@
2014-08-15Use O_CLOEXEC wherever we open a file and then call fcntl(F_SETFD, FD_CLOEXEC)Philip Guenther
on it, simplifying error checking, reducing system calls, and improving thread-safety for libraries. ok miod@
2014-05-25one calloc from Benjamin Baier, one from me.Ted Unangst
2014-01-21obvious .Pa fixes; found with mandocdb(8)Ingo Schwarze
2013-12-02CIRCLEQ begone.Kenneth R Westerback
ok miller@
2013-09-30Use PATH_MAX, NAME_MAX and LOGIN_NAME_MAX not MAXPATHNAMELEN,Todd C. Miller
MAXNAMLEN or MAXLOGNAME where possible. OK deraadt@
2013-07-17more library historyIngo Schwarze
facts checked by sobrado@ style tweaks and ok jmc@
2013-06-05Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarzeTed Unangst
2013-04-29use FD_CLOEXEC instead of 1; from David HillOkan Demirmen
ok otto
2010-07-02Constipate init_hash() to eliminate a warning and remove a cast that isPhilip Guenthe
thereby rendered superfluous ok blambert@
2008-10-01Simplify the loop used for bp overflow detection to match what I'mTodd C. Miller
using on the list server.
2008-10-01Fix for sequential retrieval failure when using large key/data pairs.Todd C. Miller
Closes PR 2764. Has been running on the list server for years. OK deraadt@
2008-05-11Fix a crash when iterating over a hash and removing its elements.Todd C. Miller
From Patrick Keshishian. OK pvalchev@
2007-09-17Check snprintf(3) return value for error or truncation.Moritz Jodeit
Mostly path construction, where truncation could be bad. ok and input from deraadt@ millert@ ray@
2007-09-16for get the flags arg must be 0; from Tamas TEVESZ; ok millert@Otto Moerbeek
2007-08-08Let realloc handle NULL. Initial diff from Charles Longeau.Ray Lai
OK millert and jaredy.
2007-08-08realloc can handle NULL values. From Charles Longeau.Ray Lai
OK jaredy.
2007-08-07Let realloc handle NULL pointers, plus a spacing fix.Ray Lai
OK millert and moritz.
2007-05-31convert to new .Dd format;Jason McIntyre
2007-01-25Move paragraphs unrelated to bfname out of this list item.Alexander Bluhm
ok millert jmc
2006-04-03a few size_t casts are needed here; ok ottoTheo de Raadt
2006-03-19Fix a mem leak and a potential NULL deref; from NetBSD's coverity analysis.Otto Moerbeek
ok millert@
2006-01-25Fix a memory leak that could be trigged by a read errorTodd C. Miller
Update the count of currently cached pages in mpool_delete() Use CIRCLEQ_EMPTY in the loop that delets the lru cache Don't update the pageread statistic if there was a read error With aaron@, OK krw@
2006-01-24Add missing break; in a switch case statement from r1.7 pread() changes. FromAaron Campbell
dhelder AT arbor.net. millert@ ok
2005-10-12Use queue macros instead of directly accessing fields. ok millert@Otto Moerbeek
2005-10-10Pass local var instead of mp->lqh.cqh_first to CIRCLEQ_REMOVE macro.Otto Moerbeek
The latter might fail, depending on the actual implementation of CIRCLEQ_REMOVE. Found by a strict queue.h I'm working on. ok pedro@ millert@
2005-08-08zap remaining rcsid.Marc Espie
Kill old files that are no longer compiled. okay theo
2005-08-05zap rcsidMarc Espie
2005-07-17- punctuation, macro, layout, wording improvementsJared Yanovich
- avoid first person - document dbm_rdonly - update some error return values in the mpool(3) routines - sync header file excerpts ok jmc
2005-03-23ansify. ok deraadt@ moritz@Otto Moerbeek
2005-01-03deregisterTodd C. Miller
2005-01-03Avoid namespace pollution by renaming index variables -> idx.Todd C. Miller
Idea from NetBSD; OK deraadt@
2005-01-03Make a u_int32_t-sized copy of data->size and key->size (which are size_t)Todd C. Miller
so when we memmove() it we get the correct 32 bits copied on sparc64. Adapted from FreeBSD. OK otto@
2004-10-01Avoid overwriting the cursor page when the cursor page becomes theOtto Moerbeek
LRU page. From pacman at manson dot clss dot net. ok deraadt@ millert@
2004-09-15ansi and ARSUSEDTheo de Raadt
2004-06-24Working hcreate(3) et al from NetBSD (cgd) via ray at cyth dot net.Todd C. Miller
Now passes the regress tests.
2004-06-21another errno -> err in a structure. OK deraadt@Marco S Hyman
2004-05-05O_NOFOLLOW and O_SYNC are also valid flags to dbopen(3)Todd C. Miller
2004-05-03Make ndbm match POSIX. A datum consists of a void *dptr and a size_t dsize.Todd C. Miller
Also make the open functions take a mode_t, not int. OK deraadt@
2003-10-21datbase -> database; from Jared YanovichJason McIntyre
2003-08-06Remove some double semicolons (hmm, do two semis equal a maxi?).Todd C. Miller
I've skipped the GNU stuff for now. From Patrick Latifi.
2003-07-07convert some complicated lists to displays;Jason McIntyre
2003-06-25pull in headersTheo de Raadt
2003-06-17Sync with share/misc/license.template and add missing DARPA creditTodd C. Miller
where applicable.
2003-06-03Use an ISC-tyle license for all my code; it is simpler and more permissive.Todd C. Miller
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-30section reorder;Jason McIntyre
2003-05-07typos;Jason McIntyre