summaryrefslogtreecommitdiffstats
path: root/lib/libc/db/hash/hash_bigkey.c
Commit message (Collapse)AuthorAgeFilesLines
* - If (keysize+datasize)%(bsize=14)==0, insertion of a `big key' would causedelphij2009-03-281-6/+18
| | | | | | | | | | | | | | | an 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. - fix NULL dereference exposed on big bsize values; Obtained from: NetBSD via OpenBSD
* Several signed/unsigned warning fixes.delphij2009-03-281-1/+2
|
* Style changes (including additional casts to shut up warnings). Thisdelphij2009-03-041-9/+7
| | | | commit does not affect MD5 of object file.
* Diff reduction against OpenBSD: ANSI'fy prototypes.delphij2009-03-021-53/+22
| | | | | | | | (This is part of a larger changeset which is intended to reduce diff only, thus some prototypes were left intact since they will be changed in the future). Verified with: md5(1)
* Per Regents of the University of Calfornia letter, remove advertisingimp2007-01-091-4/+0
| | | | | | clause. # If I've done so improperly on a file, please let me know.
* Eliminate 61 warnings emitted at WARNS=2 (leaving 53 to go).nectar2003-02-161-1/+2
| | | | | | | Only warnings that could be fixed without changing the generated object code and without restructuring the source code have been handled. Reviewed by: /sbin/md5
* Remove __P() usage.obrien2002-03-211-2/+2
|
* Remove 'register' keyword.obrien2002-03-211-8/+10
|
* General -Wall warning cleanup, part I.jkh1996-07-121-1/+1
| | | | Submitted-By: Kent Vander Velden <graphix@iastate.edu>
* Import updated Berkeley DB into CSRG branchpst1996-02-271-38/+38
|
* BSD 4.4 Lite Lib Sourcesrgrimes1994-05-271-0/+667
OpenPOWER on IntegriCloud