summaryrefslogtreecommitdiffstats
path: root/lib/libc/db/mpool
AgeCommit message (Collapse)AuthorFilesLines
2017-08-22Remove mpool.libtp, it was part of the Berkeley DB tarball but notmillert1-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@
2015-11-01delete old lint ARGSUSED commentsguenther1-4/+1
2015-04-06tidy up by inlining next level included makefilestedu1-5/+0
ok deraadt guenther
2015-01-16Move to the <limits.h> universe.deraadt1-2/+1
review by millert, binary checking process with doug, concept with guenther
2013-12-02CIRCLEQ begone.krw1-22/+21
ok miller@
2006-01-25Fix a memory leak that could be trigged by a read errormillert1-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@
2006-01-24Add missing break; in a switch case statement from r1.7 pread() changes. Fromaaron1-1/+2
dhelder AT arbor.net. millert@ ok
2005-10-12Use queue macros instead of directly accessing fields. ok millert@otto1-8/+5
2005-10-10Pass local var instead of mp->lqh.cqh_first to CIRCLEQ_REMOVE macro.otto1-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@
2005-08-05zap rcsidespie1-9/+1
2005-03-23ansify. ok deraadt@ moritz@otto1-40/+16
2003-06-02Remove the advertising clause in the UCB license which Berkeleymillert1-7/+3
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-01-Wall cleanup, make rcsid variables constavsm1-2/+2
millert@ ok
2002-02-25Cosmetic changes such as correct printf format specifiers on LP64millert1-3/+3
machines and whitespace nits. Some from NetBSD.
2002-02-16Part 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.millert1-7/+7
2002-02-01After writing a page out to disk, run the page back through the user'smillert1-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
2002-01-31Use pread(2) and pwrite(2) instead of lseek(2) + read(2) / write(2).millert1-14/+13
Based on changes from NetBSD (thorpej).
1999-02-15 o Minor changes from db.1.86 (sleepycat). Does not include the new hashmillert3-19/+68
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
1998-11-20Add thread-safety to libc, so that libc_r will build (on i386 at least).d1-2/+2
All POSIX libc api now there (to P1003.1c/D10) (more md stuff is needed for other libc/arch/*) (setlogin is no longer a special syscall) Add -pthread option to gcc (that makes it use -lc_r and -D_POSIX_THREADS). Doc some re-entrant routines Add libc_r to intro(3) dig() uses some libc srcs and an extra -I was needed there. Add more md stuff to libc_r. Update includes for the pthreads api Update libc_r TODO
1998-08-28do not toss memory dribble into the output files (small performance loss)deraadt1-3/+1
1998-07-13ftpd: sleep for an indeterminate amount for non-existant loginsmillert1-3/+3
to simulate a crypt, like login does. Use SEEK_* not L_* and kill some 0L's used in lseek while we're there.
1996-09-15Remove dead codetholo1-1/+4
Remove unused variables Silence some warnings lint(1) is your friend
1996-08-19Fix RCS idstholo3-11/+3
Make sure everything uses {SYS,}LIBC_SCCS properly
1996-05-07db release 1.85deraadt2-250/+925
1995-10-18initial import of NetBSD treederaadt3-0/+554