summaryrefslogtreecommitdiffstats
path: root/lib/libc/db/mpool (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove mpool.libtp, it was part of the Berkeley DB tarball but notmillert2017-08-221-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@
* delete old lint ARGSUSED commentsguenther2015-11-011-4/+1
|
* tidy up by inlining next level included makefilestedu2015-04-061-5/+0
| | | | ok deraadt guenther
* 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-153-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
* Add thread-safety to libc, so that libc_r will build (on i386 at least).d1998-11-201-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
* do not toss memory dribble into the output files (small performance loss)deraadt1998-08-281-3/+1
|
* ftpd: sleep for an indeterminate amount for non-existant loginsmillert1998-07-131-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.
* Remove dead codetholo1996-09-151-1/+4
| | | | | | Remove unused variables Silence some warnings lint(1) is your friend
* Fix RCS idstholo1996-08-193-11/+3
| | | | Make sure everything uses {SYS,}LIBC_SCCS properly
* db release 1.85deraadt1996-05-072-251/+926
|
* initial import of NetBSD treederaadt1995-10-183-0/+554