summaryrefslogtreecommitdiff
path: root/lib/libc/db
AgeCommit message (Collapse)Author
2023-02-17Remove unused variables; ok millert@Miod Vallat
2022-12-27spelling fixes; from paul tagliamonteJason McIntyre
any changes not taken noted on tech, but chiefly here i did not take the cancelation - cancellation changes;
2022-03-31man pages: add missing commas between subordinate and main clausesChristian Weisgerber
jmc@ dislikes a comma before "then" in a conditional, so leave those untouched. ok jmc@
2021-10-24ansiJonathan Gray
ok mpi@ deraadt@
2020-12-01Set type to DB_RECNO in __rec_open() for consistency with other db types.Todd C. Miller
From Boudewijn Dijkstra
2019-04-23missing dots after ".%P pp"; the case of btree(3) wasIngo Schwarze
reported by Fabio Scotoni <fabio at esse dot ch>; also garbage collect one .Tn while here
2017-08-22Remove mpool.libtp, it was part of the Berkeley DB tarball but notTodd C. Miller
present int the CSRG libc. It is only of historical interest and, given the amount of time passed, probably not even that anymore. OK deraadt@, prodded by miod@
2016-12-18Another whitespace nit that wandered into my sights.Kenneth R Westerback
2016-09-21Delete casts to off_t and size_t that are implied by assignmentsPhilip Guenther
or prototypes. Ditto for some of the char* and void* casts too. verified no change to instructions on ILP32 (i386) and LP64 (amd64) ok natano@ abluhm@ deraadt@ millert@
2016-05-29Remove dead support for changing BDB hash algorithm and cache of alternativesPhilip Guenther
ok natano@ millert@ deraadt@
2016-05-09remove mention of dbm(3) and surrounding cruft; ok jmc@Christian Weisgerber
2016-05-07remove more dbm piecesChristian Weisgerber
2016-05-07remove ancient dbm functions (ndbm remains). nothing uses them in forever.Ted Unangst
2016-03-30for some time now mandoc has not required MLINKS to functionJason McIntyre
correctly - logically complete that now by removing MLINKS from base; authors need only to ensure there is an entry in NAME for any function/ util being added. MLINKS will still work, and remain for perl to ease upgrades; ok nicm (curses) bcook (ssl) ok schwarze, who provided a lot of feedback and assistance ok tb natano jung
2015-12-28Remove NULL-checks before free() and a few related dead assignments.mmcc
ok and valuable input from millert@
2015-11-30change Xrs from now-defunct db(3) to dbopen(3); this wasn;t aJason McIntyre
straight replace: thanks both to schwarze and maja for feedback on how to rewrite parts; i've snuck in an rcs id->openbsd id change in dev_mkdb too;
2015-11-10update NAME section to include all documented functions,Jason McIntyre
or otherwise change Dt to reflect the name of an existing function; feedback/ok schwarze
2015-11-01delete old lint ARGSUSED commentsPhilip Guenther
2015-10-17Move the last of the __DBINTERFACE_PRIVATE bits from <db.h> to libc's wrapperPhilip Guenther
and eliminate the now superfluous -D option ok kettenis@ millert@
2015-09-13mpool(3) is no longer installed; delete it. prodded by jmc@Philip Guenther
2015-09-12Wrap <dbm.h> and <ndbm.h> so that calls go direct and the symbols are all weakPhilip Guenther
2015-09-10no more mpool;Jason McIntyre
2015-09-09Remove the mpool(3) manpagesPhilip Guenther
prodded by miod@
2015-09-05Use new framework for wrapping dbopen()Philip Guenther
Move internal declarations from <db.h> to libc's hidden/db.h ok kettenis@
2015-08-27Use static and __{BEGIN,ENV}_HIDDEN_DECLS to hide a bunch of internalPhilip Guenther
symbols that are not longer exported. (This improves the generated code.) ok deraadt@
2015-07-16remove the stubby not working mmaped file support. ok sthen (long ago)Ted Unangst
2015-05-11Whoops, need to pass through O_ACCMODE flags to the underlying __*_open()Philip Guenther
problem pointed out by Mark Patruck (mark (at) wrapped.cx)
2015-05-11When checking flags that will be passed to open(), test the O_ACCMODE portionPhilip Guenther
separately to avoid false negatives. ok miod@ millert@
2015-04-06tidy up by inlining next level included makefilesTed Unangst
ok deraadt guenther
2015-04-05seems unlikely that a new release will be made available for us to importTed Unangst
2015-01-16Move to the <limits.h> universe.Theo de Raadt
review by millert, binary checking process with doug, concept with guenther
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.