Age | Commit message (Collapse) | Author | |
---|---|---|---|
2001-08-04 | Move decision whether to make a new hash table or not to be after | Todd C. Miller | |
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. | |||
2001-01-04 | grammer/spelling | Todd T. Fries | |
2001-01-03 | Make it an error to open a zero-length file for read-only access. | Todd C. Miller | |
This makes cap_mkdb happier, though cap_mkdb still behaves incorrectly when given multiple files (but that is cap_mkdb's fault). | |||
2000-10-03 | bt_open.c: parenthesize - and & proper (from freebsd); | Michael Shalayeff | |
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. | |||
2000-08-01 | Traditional NDBM supports dbm_open(foo, O_WRONLY) but dbopen() does | Todd C. Miller | |
not allow O_WRONLY (it returns EINVAL). If the users passes O_WRONLY to dbm_open, strip it and use O_RDWR instead. | |||
1999-04-18 | o Opening a zero-length hash file should not be an error | Todd C. Miller | |
o Correct odbm support o Add man links for ndbm and odbm | |||
1999-02-16 | real dbm_rdonly | Todd C. Miller | |
1999-02-16 | kludge to get rid of dbm_rdonly not being defined | imp | |
1999-02-15 | o Minor changes from db.1.86 (sleepycat). Does not include the new hash | Todd C. Miller | |
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 | |||
1999-02-12 | It's always a good idea to test those last minute changes to make sure they ↵ | Todd C. Miller | |
compile... | |||
1999-02-12 | add old dbm-compatible interface from db-1.86 with minor changes by me ↵ | Todd C. Miller | |
(needs a man page) | |||
1998-11-20 | Add thread-safety to libc, so that libc_r will build (on i386 at least). | David Leonard | |
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-28 | do not toss memory dribble into the output files (small performance loss) | Theo de Raadt | |
1998-07-27 | bad Theo, changed a variable name ;-) | Todd C. Miller | |
1998-07-27 | include sys/param.h to pull in MAXPATHLEN | Todd C. Miller | |
1998-07-27 | clone mkstemp() setup in ../btree | Theo de Raadt | |
1998-03-19 | some -Wall | Todd C. Miller | |
1998-03-05 | string.h for memset proto | Theo de Raadt | |
1997-07-23 | tabify | kstailey | |
1997-02-16 | need errno.h | Theo de Raadt | |
1997-02-15 | buf oflow, danny@freebsd.org | Theo de Raadt | |
1996-10-14 | zero out the page | Jason Downs | |
1996-09-15 | Remove dead code | Thorsten Lockert | |
Remove unused variables Silence some warnings lint(1) is your friend | |||
1996-08-19 | Fix RCS ids | Thorsten Lockert | |
Make sure everything uses {SYS,}LIBC_SCCS properly | |||
1996-05-07 | db release 1.85 | Theo de Raadt | |
1995-10-18 | initial import of NetBSD tree | Theo de Raadt | |