History log of /openbsd-current/lib/libc/db/btree/bt_open.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.19 28-Dec-2015 mmcc

Remove NULL-checks before free() and a few related dead assignments.

ok and valuable input from millert@


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.18 15-Sep-2014 guenther

Pass O_CLOEXEC to open() or mkostemp() instead of setting FD_CLOEXEC afterwards

ok miod@


Revision tags: OPENBSD_5_6_BASE
# 1.17 25-May-2014 tedu

one calloc from Benjamin Baier, one from me.


Revision tags: OPENBSD_5_5_BASE
# 1.16 30-Sep-2013 millert

Use PATH_MAX, NAME_MAX and LOGIN_NAME_MAX not MAXPATHNAMELEN,
MAXNAMLEN or MAXLOGNAME where possible. OK deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.15 29-Apr-2013 okan

use FD_CLOEXEC instead of 1; from David Hill

ok otto


Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.14 17-Sep-2007 moritz

Check snprintf(3) return value for error or truncation.
Mostly path construction, where truncation could be bad.

ok and input from deraadt@ millert@ ray@


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE
# 1.13 05-Aug-2005 espie

zap rcsid


# 1.12 23-Mar-2005 otto

ansify. ok deraadt@ moritz@


Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE
# 1.11 02-Jun-2003 millert

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


# 1.10 01-May-2003 avsm

-Wall cleanup, make rcsid variables const
millert@ ok


Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.9 25-Feb-2002 millert

Cosmetic changes such as correct printf format specifiers on LP64
machines and whitespace nits. Some from NetBSD.


# 1.8 16-Feb-2002 millert

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.


Revision tags: OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE
# 1.7 03-Oct-2000 mickey

bt_open.c: parenthesize - and & proper (from freebsd);
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.


Revision tags: OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE
# 1.6 15-Feb-1999 millert

o Minor changes from db.1.86 (sleepycat). Does not include the new hash
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


Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE
# 1.5 23-Jul-1997 kstailey

tabify


Revision tags: OPENBSD_2_0_BASE OPENBSD_2_1_BASE
# 1.4 26-Aug-1996 deraadt

use issetugid() to protect against bad getenv


# 1.3 19-Aug-1996 tholo

Fix RCS ids
Make sure everything uses {SYS,}LIBC_SCCS properly


# 1.2 07-May-1996 deraadt

db release 1.85


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision