summaryrefslogtreecommitdiffstats
path: root/lib/libc/db (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Set type to DB_RECNO in __rec_open() for consistency with other db types.millert2020-12-011-1/+2
| | | | From Boudewijn Dijkstra
* missing dots after ".%P pp"; the case of btree(3) wasschwarze2019-04-231-8/+6
| | | | | reported by Fabio Scotoni <fabio at esse dot ch>; also garbage collect one .Tn while here
* Remove mpool.libtp, it was part of the Berkeley DB tarball but notmillert2017-08-221-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@
* Another whitespace nit that wandered into my sights.krw2016-12-181-2/+2
|
* Delete casts to off_t and size_t that are implied by assignmentsguenther2016-09-213-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@
* Remove dead support for changing BDB hash algorithm and cache of alternativesguenther2016-05-292-114/+3
| | | | ok natano@ millert@ deraadt@
* remove mention of dbm(3) and surrounding cruft; ok jmc@naddy2016-05-091-4/+2
|
* remove more dbm piecesnaddy2016-05-072-5/+4
|
* remove ancient dbm functions (ndbm remains). nothing uses them in forever.tedu2016-05-072-285/+1
|
* for some time now mandoc has not required MLINKS to functionjmc2016-03-301-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
* Remove NULL-checks before free() and a few related dead assignments.mmcc2015-12-283-15/+9
| | | | ok and valuable input from millert@
* change Xrs from now-defunct db(3) to dbopen(3); this wasn;t ajmc2015-11-302-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;
* update NAME section to include all documented functions,jmc2015-11-102-6/+6
| | | | | | or otherwise change Dt to reflect the name of an existing function; feedback/ok schwarze
* delete old lint ARGSUSED commentsguenther2015-11-013-8/+3
|
* Move the last of the __DBINTERFACE_PRIVATE bits from <db.h> to libc's wrapperguenther2015-10-171-3/+1
| | | | | | and eliminate the now superfluous -D option ok kettenis@ millert@
* mpool(3) is no longer installed; delete it. prodded by jmc@guenther2015-09-131-262/+0
|
* Wrap <dbm.h> and <ndbm.h> so that calls go direct and the symbols are all weakguenther2015-09-121-1/+8
|
* no more mpool;jmc2015-09-104-13/+9
|
* Remove the mpool(3) manpagesguenther2015-09-091-5/+2
| | | | prodded by miod@
* Use new framework for wrapping dbopen()guenther2015-09-051-1/+2
| | | | | | Move internal declarations from <db.h> to libc's hidden/db.h ok kettenis@
* Use static and __{BEGIN,ENV}_HIDDEN_DECLS to hide a bunch of internalguenther2015-08-273-5/+9
| | | | | | symbols that are not longer exported. (This improves the generated code.) ok deraadt@
* remove the stubby not working mmaped file support. ok sthen (long ago)tedu2015-07-163-35/+3
|
* Whoops, need to pass through O_ACCMODE flags to the underlying __*_open()guenther2015-05-111-3/+3
| | | | problem pointed out by Mark Patruck (mark (at) wrapped.cx)
* When checking flags that will be passed to open(), test the O_ACCMODE portionguenther2015-05-111-3/+4
| | | | | | separately to avoid false negatives. ok miod@ millert@
* tidy up by inlining next level included makefilestedu2015-04-067-51/+38
| | | | ok deraadt guenther
* seems unlikely that a new release will be made available for us to importtedu2015-04-052-68/+1
|
* Move to the <limits.h> universe.deraadt2015-01-1610-38/+30
| | | | review by millert, binary checking process with doug, concept with guenther
* Reduce instances of `` '' in manuals.bentley2014-11-151-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@
* trivial sync of the first sentence of the DESCRIPTIONschwarze2014-10-171-4/+4
| | | | with btree(3) and recno(3); from jean-philippe at ouellet dot biz
* Pass O_CLOEXEC to open() or mkostemp() instead of setting FD_CLOEXEC afterwardsguenther2014-09-152-9/+5
| | | | ok miod@
* Use O_CLOEXEC wherever we open a file and then call fcntl(F_SETFD, FD_CLOEXEC)guenther2014-08-151-3/+2
| | | | | | | on it, simplifying error checking, reducing system calls, and improving thread-safety for libraries. ok miod@
* one calloc from Benjamin Baier, one from me.tedu2014-05-251-5/+3
|
* obvious .Pa fixes; found with mandocdb(8)schwarze2014-01-214-14/+14
|
* CIRCLEQ begone.krw2013-12-021-22/+21
| | | | ok miller@
* Use PATH_MAX, NAME_MAX and LOGIN_NAME_MAX not MAXPATHNAMELEN,millert2013-09-303-11/+8
| | | | MAXNAMLEN or MAXLOGNAME where possible. OK deraadt@
* more library historyschwarze2013-07-171-2/+13
| | | | | facts checked by sobrado@ style tweaks and ok jmc@
* Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarzetedu2013-06-057-28/+28
|
* use FD_CLOEXEC instead of 1; from David Hillokan2013-04-293-6/+6
| | | | ok otto
* Constipate init_hash() to eliminate a warning and remove a cast that isguenther2010-07-021-4/+4
| | | | | thereby rendered superfluous ok blambert@
* Simplify the loop used for bp overflow detection to match what I'mmillert2008-10-011-8/+5
| | | | using on the list server.
* Fix for sequential retrieval failure when using large key/data pairs.millert2008-10-011-1/+16
| | | | | Closes PR 2764. Has been running on the list server for years. OK deraadt@
* Fix a crash when iterating over a hash and removing its elements.millert2008-05-112-11/+22
| | | | From Patrick Keshishian. OK pvalchev@
* Check snprintf(3) return value for error or truncation.moritz2007-09-173-11/+23
| | | | | | Mostly path construction, where truncation could be bad. ok and input from deraadt@ millert@ ray@
* for get the flags arg must be 0; from Tamas TEVESZ; ok millert@otto2007-09-161-2/+6
|
* Let realloc handle NULL. Initial diff from Charles Longeau.ray2007-08-082-8/+5
| | | | OK millert and jaredy.
* realloc can handle NULL values. From Charles Longeau.ray2007-08-082-14/+6
| | | | OK jaredy.
* Let realloc handle NULL pointers, plus a spacing fix.ray2007-08-071-8/+4
| | | | OK millert and moritz.
* convert to new .Dd format;jmc2007-05-317-14/+14
|
* Move paragraphs unrelated to bfname out of this list item.bluhm2007-01-251-2/+2
| | | | ok millert jmc
* a few size_t casts are needed here; ok ottoderaadt2006-04-031-3/+3
|