Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Constipate init_hash() to eliminate a warning and remove a cast that is | 2010-07-02 | 1 | -4/+4 | |
| | | | | | thereby rendered superfluous ok blambert@ | ||||
* | Simplify the loop used for bp overflow detection to match what I'm | 2008-10-01 | 1 | -8/+5 | |
| | | | | using on the list server. | ||||
* | Fix for sequential retrieval failure when using large key/data pairs. | 2008-10-01 | 1 | -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. | 2008-05-11 | 2 | -11/+22 | |
| | | | | From Patrick Keshishian. OK pvalchev@ | ||||
* | Check snprintf(3) return value for error or truncation. | 2007-09-17 | 3 | -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@ | 2007-09-16 | 1 | -2/+6 | |
| | |||||
* | Let realloc handle NULL. Initial diff from Charles Longeau. | 2007-08-08 | 2 | -8/+5 | |
| | | | | OK millert and jaredy. | ||||
* | realloc can handle NULL values. From Charles Longeau. | 2007-08-08 | 2 | -14/+6 | |
| | | | | OK jaredy. | ||||
* | Let realloc handle NULL pointers, plus a spacing fix. | 2007-08-07 | 1 | -8/+4 | |
| | | | | OK millert and moritz. | ||||
* | convert to new .Dd format; | 2007-05-31 | 7 | -14/+14 | |
| | |||||
* | Move paragraphs unrelated to bfname out of this list item. | 2007-01-25 | 1 | -2/+2 | |
| | | | | ok millert jmc | ||||
* | a few size_t casts are needed here; ok otto | 2006-04-03 | 1 | -3/+3 | |
| | |||||
* | Fix a mem leak and a potential NULL deref; from NetBSD's coverity analysis. | 2006-03-19 | 1 | -5/+9 | |
| | | | | ok millert@ | ||||
* | Fix a memory leak that could be trigged by a read error | 2006-01-25 | 1 | -5/+11 | |
| | | | | | | | 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@ | ||||
* | Add missing break; in a switch case statement from r1.7 pread() changes. From | 2006-01-24 | 1 | -1/+2 | |
| | | | | dhelder AT arbor.net. millert@ ok | ||||
* | Use queue macros instead of directly accessing fields. ok millert@ | 2005-10-12 | 1 | -8/+5 | |
| | |||||
* | Pass local var instead of mp->lqh.cqh_first to CIRCLEQ_REMOVE macro. | 2005-10-10 | 1 | -3/+3 | |
| | | | | | | 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@ | ||||
* | zap remaining rcsid. | 2005-08-08 | 2 | -18/+2 | |
| | | | | | | Kill old files that are no longer compiled. okay theo | ||||
* | zap rcsid | 2005-08-05 | 28 | -247/+28 | |
| | |||||
* | - punctuation, macro, layout, wording improvements | 2005-07-17 | 8 | -107/+120 | |
| | | | | | | | | | - avoid first person - document dbm_rdonly - update some error return values in the mpool(3) routines - sync header file excerpts ok jmc | ||||
* | ansify. ok deraadt@ moritz@ | 2005-03-23 | 28 | -548/+232 | |
| | |||||
* | deregister | 2005-01-03 | 6 | -75/+67 | |
| | |||||
* | Avoid namespace pollution by renaming index variables -> idx. | 2005-01-03 | 7 | -105/+105 | |
| | | | | Idea from NetBSD; OK deraadt@ | ||||
* | Make a u_int32_t-sized copy of data->size and key->size (which are size_t) | 2005-01-03 | 1 | -5/+7 | |
| | | | | | so when we memmove() it we get the correct 32 bits copied on sparc64. Adapted from FreeBSD. OK otto@ | ||||
* | Avoid overwriting the cursor page when the cursor page becomes the | 2004-10-01 | 1 | -3/+11 | |
| | | | | | LRU page. From pacman at manson dot clss dot net. ok deraadt@ millert@ | ||||
* | ansi and ARSUSED | 2004-09-15 | 1 | -4/+4 | |
| | |||||
* | Working hcreate(3) et al from NetBSD (cgd) via ray at cyth dot net. | 2004-06-24 | 4 | -309/+4 | |
| | | | | Now passes the regress tests. | ||||
* | another errno -> err in a structure. OK deraadt@ | 2004-06-21 | 3 | -15/+15 | |
| | |||||
* | O_NOFOLLOW and O_SYNC are also valid flags to dbopen(3) | 2004-05-05 | 1 | -1/+3 | |
| | |||||
* | Make ndbm match POSIX. A datum consists of a void *dptr and a size_t dsize. | 2004-05-03 | 3 | -12/+15 | |
| | | | | Also make the open functions take a mode_t, not int. OK deraadt@ | ||||
* | datbase -> database; from Jared Yanovich | 2003-10-21 | 1 | -2/+2 | |
| | |||||
* | Remove some double semicolons (hmm, do two semis equal a maxi?). | 2003-08-06 | 1 | -3/+3 | |
| | | | | I've skipped the GNU stuff for now. From Patrick Latifi. | ||||
* | convert some complicated lists to displays; | 2003-07-07 | 3 | -69/+31 | |
| | |||||
* | pull in headers | 2003-06-25 | 3 | -9/+14 | |
| | |||||
* | Sync with share/misc/license.template and add missing DARPA credit | 2003-06-17 | 1 | -8/+8 | |
| | | | | where applicable. | ||||
* | Use an ISC-tyle license for all my code; it is simpler and more permissive. | 2003-06-03 | 1 | -22/+11 | |
| | |||||
* | Remove the advertising clause in the UCB license which Berkeley | 2003-06-02 | 43 | -288/+116 | |
| | | | | rescinded 22 July 1999. Proofed by myself and Theo. | ||||
* | section reorder; | 2003-05-30 | 1 | -3/+3 | |
| | |||||
* | typos; | 2003-05-07 | 2 | -6/+10 | |
| | |||||
* | -Wall cleanup, make rcsid variables const | 2003-05-01 | 31 | -61/+61 | |
| | | | | millert@ ok | ||||
* | snprintf | 2002-06-05 | 1 | -4/+3 | |
| | |||||
* | use int32_t, not int, for on-disk format structure. | 2002-05-31 | 1 | -18/+18 | |
| | |||||
* | o) start new sentence on a new line; | 2002-05-01 | 2 | -7/+12 | |
| | | | | | | | o) always close .Bl tags; o) fix usage of .Xr; millert@ ok | ||||
* | Fix temporary buffer memory leak with big hash keys and data; | 2002-03-25 | 1 | -2/+6 | |
| | | | | Christopher L. Cousins | ||||
* | Cosmetic changes such as correct printf format specifiers on LP64 | 2002-02-25 | 10 | -75/+75 | |
| | | | | machines and whitespace nits. Some from NetBSD. | ||||
* | We have search.h in /usr/include so we don't need this private one. | 2002-02-24 | 2 | -58/+1 | |
| | |||||
* | Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree) | 2002-02-17 | 2 | -6/+6 | |
| | |||||
* | Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | 2002-02-16 | 22 | -172/+172 | |
| | |||||
* | Allow O_SYNC and O_NOFOLLOW flags in dbopen() | 2002-02-09 | 1 | -4/+4 | |
| | |||||
* | Only squeeze a short key/value pair onto a page with other complete key/value | 2002-02-01 | 1 | -5/+11 | |
| | | | | pairs, not onto a page containing the end of a big pair; mycroft@netbsd.org |