summaryrefslogtreecommitdiffstats
path: root/lib/libc/db
AgeCommit message (Collapse)AuthorFilesLines
2020-12-01Set type to DB_RECNO in __rec_open() for consistency with other db types.millert1-1/+2
From Boudewijn Dijkstra
2019-04-23missing dots after ".%P pp"; the case of btree(3) wasschwarze1-8/+6
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 notmillert1-746/+0
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.krw1-2/+2
2016-09-21Delete casts to off_t and size_t that are implied by assignmentsguenther3-7/+7
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 alternativesguenther2-114/+3
ok natano@ millert@ deraadt@
2016-05-09remove mention of dbm(3) and surrounding cruft; ok jmc@naddy1-4/+2
2016-05-07remove more dbm piecesnaddy2-5/+4
2016-05-07remove ancient dbm functions (ndbm remains). nothing uses them in forever.tedu2-285/+1
2016-03-30for some time now mandoc has not required MLINKS to functionjmc1-8/+1
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.mmcc3-15/+9
ok and valuable input from millert@
2015-11-30change Xrs from now-defunct db(3) to dbopen(3); this wasn;t ajmc2-11/+11
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,jmc2-6/+6
or otherwise change Dt to reflect the name of an existing function; feedback/ok schwarze
2015-11-01delete old lint ARGSUSED commentsguenther3-8/+3
2015-10-17Move the last of the __DBINTERFACE_PRIVATE bits from <db.h> to libc's wrapperguenther1-3/+1
and eliminate the now superfluous -D option ok kettenis@ millert@
2015-09-13mpool(3) is no longer installed; delete it. prodded by jmc@guenther1-262/+0
2015-09-12Wrap <dbm.h> and <ndbm.h> so that calls go direct and the symbols are all weakguenther1-1/+8
2015-09-10no more mpool;jmc4-13/+9
2015-09-09Remove the mpool(3) manpagesguenther1-5/+2
prodded by miod@
2015-09-05Use new framework for wrapping dbopen()guenther1-1/+2
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 internalguenther3-5/+9
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)tedu3-35/+3
2015-05-11Whoops, need to pass through O_ACCMODE flags to the underlying __*_open()guenther1-3/+3
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 portionguenther1-3/+4
separately to avoid false negatives. ok miod@ millert@
2015-04-06tidy up by inlining next level included makefilestedu7-51/+38
ok deraadt guenther
2015-04-05seems unlikely that a new release will be made available for us to importtedu2-68/+1
2015-01-16Move to the <limits.h> universe.deraadt10-38/+30
review by millert, binary checking process with doug, concept with guenther
2014-11-15Reduce instances of `` '' in manuals.bentley1-3/+4
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 DESCRIPTIONschwarze1-4/+4
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 afterwardsguenther2-9/+5
ok miod@
2014-08-15Use O_CLOEXEC wherever we open a file and then call fcntl(F_SETFD, FD_CLOEXEC)guenther1-3/+2
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.tedu1-5/+3
2014-01-21obvious .Pa fixes; found with mandocdb(8)schwarze4-14/+14
2013-12-02CIRCLEQ begone.krw1-22/+21
ok miller@
2013-09-30Use PATH_MAX, NAME_MAX and LOGIN_NAME_MAX not MAXPATHNAMELEN,millert3-11/+8
MAXNAMLEN or MAXLOGNAME where possible. OK deraadt@
2013-07-17more library historyschwarze1-2/+13
facts checked by sobrado@ style tweaks and ok jmc@
2013-06-05Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarzetedu7-28/+28
2013-04-29use FD_CLOEXEC instead of 1; from David Hillokan3-6/+6
ok otto
2010-07-02Constipate init_hash() to eliminate a warning and remove a cast that isguenther1-4/+4
thereby rendered superfluous ok blambert@
2008-10-01Simplify the loop used for bp overflow detection to match what I'mmillert1-8/+5
using on the list server.
2008-10-01Fix for sequential retrieval failure when using large key/data pairs.millert1-1/+16
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.millert2-11/+22
From Patrick Keshishian. OK pvalchev@
2007-09-17Check snprintf(3) return value for error or truncation.moritz3-11/+23
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@otto1-2/+6
2007-08-08Let realloc handle NULL. Initial diff from Charles Longeau.ray2-8/+5
OK millert and jaredy.
2007-08-08realloc can handle NULL values. From Charles Longeau.ray2-14/+6
OK jaredy.
2007-08-07Let realloc handle NULL pointers, plus a spacing fix.ray1-8/+4
OK millert and moritz.
2007-05-31convert to new .Dd format;jmc7-14/+14
2007-01-25Move paragraphs unrelated to bfname out of this list item.bluhm1-2/+2
ok millert jmc
2006-04-03a few size_t casts are needed here; ok ottoderaadt1-3/+3