Date: Sat, 28 Mar 2009 07:09:51 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/lib/libc/db/hash hash.c Message-ID: <200903280710.n2S7A5pf071703@repoman.freebsd.org>
index | next in thread | raw e-mail
delphij 2009-03-28 07:09:51 UTC
FreeBSD src repository
Modified files:
lib/libc/db/hash hash.c
Log:
SVN rev 190495 on 2009-03-28 07:09:51Z by delphij
Simplify the logic when determining whether to zero out a db file to after
open(). The previous logic only initializes the database when O_CREAT is
set, but as long as we can open and write the database, and the database
is empty, we should initialize it anyway.
Obtained from: OpenBSD
Revision Changes Path
1.20 +5 -15 src/lib/libc/db/hash/hash.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903280710.n2S7A5pf071703>
