Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Return a useful errno value in the overflow case. Also, print a | 2002-02-01 | 1 | -3/+9 | ||
| | | | | message to stderr in one more case. mycroft@netbsd.org | |||||
* | If (keysize+datasize)%(bsize=14)==0, insertion of a `big key' would cause an | 2002-02-01 | 1 | -7/+19 | ||
| | | | | | | | | | | | | invariant (actually, an ugly hack) to fail, and all Hell would break loose. When deleting a big key, the offset of an empty page should be bsize, not bsize-1; otherwise an insertion into the empty page will cause the new key to be elongated by 1 byte. Make the packing more dense in a couple of cases. From mycroft@netbsd.org | |||||
* | After writing a page out to disk, run the page back through the user's | 2002-02-01 | 1 | -2/+11 | ||
| | | | | | | | | | | | input filter to ensure we don't end up with a cached copy of the page in the wrong byte-order for the host cpu. This fixes a fatal bug which bites when the DB 'lorder' is different to the cpu's, and a cached page is accessed soon after it was flushed to disk. From scw@netbsd.org | |||||
* | Fix a condition where the hole would be inserted in the wrong place during a | 2002-02-01 | 1 | -4/+4 | ||
| | | | | split; mycroft@netbsd.org | |||||
* | Fill in missing (default) mmap(2) flag MAP_FILE. | 2002-01-31 | 1 | -3/+3 | ||
| | | | | mycroft@netbsd.org | |||||
* | Use pread(2) and pwrite(2) instead of lseek(2) + read(2) / write(2). | 2002-01-31 | 3 | -24/+20 | ||
| | | | | Based on changes from NetBSD (thorpej). | |||||
* | return 0, not NULL, the function returns an int | 2001-09-16 | 1 | -3/+3 | ||
| | ||||||
* | o) We always close .Bl and .Bd tags; | 2001-08-06 | 3 | -6/+4 | ||
| | | | | | | | | | | o) .Sh AUTHOR -> .Sh AUTHORS; o) We don't like .Pp before/after .Sh; o) We don't like .Pp before/after .Rs/.Re; o) NetBSD -> .Nx; o) OpenBSD -> .Ox; millert@ ok | |||||
* | Move decision whether to make a new hash table or not to be after | 2001-08-04 | 1 | -13/+8 | ||
| | | | | | | | | the open(). That way if the user opened with O_EXLOCK and another process has the .db locked we don't decide to zero hash before the locking process has had a chance to write to the database. This also makes the logic simpler since we can just fstat the fd and check for size == 0 && !O_RDONLY. Closes PR 1934. | |||||
* | more .%A handling; bk@rt.fm | 2001-06-23 | 1 | -2/+3 | ||
| | ||||||
* | ok, tmac is now fixed | 2001-06-23 | 1 | -2/+3 | ||
| | ||||||
* | join .%A entries; most by bk@rt.fm | 2001-06-23 | 1 | -3/+2 | ||
| | ||||||
* | -1 -> MAP_FAILED | 2001-05-11 | 1 | -3/+3 | ||
| | ||||||
* | Man page for hsearch/hcreate/hdestroy from NetBSD | 2001-04-16 | 2 | -2/+196 | ||
| | ||||||
* | grammer/spelling | 2001-01-04 | 1 | -2/+2 | ||
| | ||||||
* | Make it an error to open a zero-length file for read-only access. | 2001-01-03 | 1 | -3/+3 | ||
| | | | | | This makes cap_mkdb happier, though cap_mkdb still behaves incorrectly when given multiple files (but that is cap_mkdb's fault). | |||||
* | prevent type overflow; dzerkel@columbus.rr.com | 2000-11-21 | 1 | -3/+3 | ||
| | ||||||
* | DBM_READONLY -> DBM_RDONLY; dugsong@ | 2000-10-25 | 1 | -2/+2 | ||
| | ||||||
* | Another round of man page cleanup, this time to remove more hard sentence | 2000-10-18 | 1 | -5/+5 | ||
| | | | | breaks and getting rid of short lines, making these files easier to work with. | |||||
* | bt_open.c: parenthesize - and & proper (from freebsd); | 2000-10-03 | 4 | -17/+19 | ||
| | | | | | | hash_bigkey.c: fix NULL dereference exposed on big bsize values; hash_buf.c: fix DEBUG1 cases to make them print, not crash; hash.3: document real default values for bsize and ffactor. | |||||
* | Traditional NDBM supports dbm_open(foo, O_WRONLY) but dbopen() does | 2000-08-01 | 1 | -2/+7 | ||
| | | | | | not allow O_WRONLY (it returns EINVAL). If the users passes O_WRONLY to dbm_open, strip it and use O_RDWR instead. | |||||
* | Repairs. | 2000-04-18 | 7 | -136/+230 | ||
| | ||||||
* | Suffix "i.e." and "e.g." with a comma. Just another really picky man page | 2000-03-14 | 3 | -7/+7 | ||
| | | | | | commit, as we want our documentation to be as consistently formatted as possible (it's getting there :-)). | |||||
* | Use .Va macro when referring to the global variable errno. | 2000-01-22 | 1 | -8/+12 | ||
| | ||||||
* | Add missing MLINKs | 1999-11-17 | 1 | -1/+4 | ||
| | ||||||
* | - remove all trailing whitespace | 1999-07-09 | 4 | -9/+9 | ||
| | | | | | | | | | | * except when it is escaped with a `\' at the end of the line - fix remaining .Nm usage as well - this is from a patch I received from kwesterback@home.com, who has been working on some scripts for fixing formatting errors in mdoc'd man pages Ok, so there could be a cost/benefit debate with this commit, but since I have the patch we might as well commit it... | |||||
* | spurious words and misc fixes | 1999-07-08 | 1 | -2/+2 | ||
| | ||||||
* | when using `-' as a negative sign, escape it with a backslash so troff knows | 1999-07-07 | 2 | -12/+12 | ||
| | | | | it's not supposed to be a hyphen/dash | |||||
* | The proper order of the ``introductory'' macros in a man page is .Dd/.Dt/.Os. | 1999-07-07 | 7 | -14/+14 | ||
| | | | | | | | Out of the approximately 1450 man pages, only about 90 of them were wrong. Thanks to kwesterback@home.com for coming up with a script and patch to repair this. The patch also inserted a .Os macro in the few man pages that were missing one. | |||||
* | trash some old leftover macros and replace them with -mdoc macros | 1999-07-04 | 2 | -22/+27 | ||
| | ||||||
* | .Dd should not be given abbreviated month names | 1999-07-02 | 1 | -2/+2 | ||
| | ||||||
* | use .Tn instead of .Em for logical/bitwise OR + AND | 1999-06-05 | 3 | -7/+7 | ||
| | ||||||
* | "SEE ALSO" -> SEE ALSO, missed these files before | 1999-05-28 | 1 | -2/+2 | ||
| | ||||||
* | more missing .El macros filled in | 1999-05-27 | 1 | -3/+6 | ||
| | ||||||
* | or'ing -> OR'ing | 1999-05-27 | 3 | -7/+7 | ||
| | ||||||
* | punctuation | 1999-05-25 | 1 | -2/+2 | ||
| | ||||||
* | remove argument from .Os macros so value in /usr/share/tmac/mdoc/doc-common | 1999-05-23 | 6 | -12/+12 | ||
| | | | | is used instead; kwesterback@home.com | |||||
* | Cleanup xrefs under SEE ALSO. Specifically: | 1999-05-16 | 2 | -5/+5 | ||
| | | | | | | | - Sort xrefs by section, and then alphabetically. - Add missing commas between xref items. - Remove commas from the last xref entry. - Remove duplicate entries. | |||||
* | o Opening a zero-length hash file should not be an error | 1999-04-18 | 5 | -53/+114 | ||
| | | | | | o Correct odbm support o Add man links for ndbm and odbm | |||||
* | fix more comma splices that involve misuse of conjunctive adverbs | 1999-03-11 | 1 | -2/+2 | ||
| | ||||||
* | fix comma splices involving 'however' | 1999-03-10 | 2 | -4/+4 | ||
| | ||||||
* | make function names the correct case | 1999-02-27 | 2 | -13/+13 | ||
| | ||||||
* | Use .Fn for dbopen() declaration and add from Dv for NULL | 1999-02-26 | 1 | -13/+11 | ||
| | ||||||
* | .Ar -> .Fa and NULL is Dv | 1999-02-26 | 1 | -21/+24 | ||
| | ||||||
* | convert to mdoc, document changes from db 1.8.6 | 1999-02-26 | 1 | -108/+121 | ||
| | ||||||
* | real dbm_rdonly | 1999-02-16 | 1 | -5/+13 | ||
| | ||||||
* | kludge to get rid of dbm_rdonly not being defined | 1999-02-16 | 1 | -2/+5 | ||
| | ||||||
* | o Minor changes from db.1.86 (sleepycat). Does not include the new hash | 1999-02-15 | 44 | -156/+515 | ||
| | | | | | | | routines since they cannot read a hashed .db file from the old code. Most of these files just have their RCS/SCCS tags standardized. Note that mpool.3 has not been updated to reflect the new mpool interface. o Add a real dbm(3) manpage | |||||
* | It's always a good idea to test those last minute changes to make sure they compile... | 1999-02-12 | 1 | -3/+3 | ||
| | ||||||
* | add old dbm-compatible interface from db-1.86 with minor changes by me (needs a man page) | 1999-02-12 | 1 | -18/+130 | ||
| |