summaryrefslogtreecommitdiffstats
path: root/lib/libc/db/mpool/mpool.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* delete old lint ARGSUSED commentsguenther2015-11-011-4/+1
|
* Move to the <limits.h> universe.deraadt2015-01-161-2/+1
| | | | review by millert, binary checking process with doug, concept with guenther
* CIRCLEQ begone.krw2013-12-021-22/+21
| | | | ok miller@
* Fix a memory leak that could be trigged by a read errormillert2006-01-251-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. Fromaaron2006-01-241-1/+2
| | | | dhelder AT arbor.net. millert@ ok
* Use queue macros instead of directly accessing fields. ok millert@otto2005-10-121-8/+5
|
* Pass local var instead of mp->lqh.cqh_first to CIRCLEQ_REMOVE macro.otto2005-10-101-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 rcsidespie2005-08-051-9/+1
|
* ansify. ok deraadt@ moritz@otto2005-03-231-40/+16
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-7/+3
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* -Wall cleanup, make rcsid variables constavsm2003-05-011-2/+2
| | | | millert@ ok
* Cosmetic changes such as correct printf format specifiers on LP64millert2002-02-251-3/+3
| | | | machines and whitespace nits. Some from NetBSD.
* 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.millert2002-02-161-7/+7
|
* After writing a page out to disk, run the page back through the user'smillert2002-02-011-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
* Use pread(2) and pwrite(2) instead of lseek(2) + read(2) / write(2).millert2002-01-311-14/+13
| | | | Based on changes from NetBSD (thorpej).
* o Minor changes from db.1.86 (sleepycat). Does not include the new hashmillert1999-02-151-17/+65
| | | | | | | 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
* do not toss memory dribble into the output files (small performance loss)deraadt1998-08-281-3/+1
|
* Remove dead codetholo1996-09-151-1/+4
| | | | | | Remove unused variables Silence some warnings lint(1) is your friend
* Fix RCS idstholo1996-08-191-7/+1
| | | | Make sure everything uses {SYS,}LIBC_SCCS properly
* db release 1.85deraadt1996-05-071-251/+180
|
* initial import of NetBSD treederaadt1995-10-181-0/+540