summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/tree.c
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2016-02-10 09:23:54 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2016-02-10 09:23:54 +0000
commit060608b110c5311fe44f770dd4e38b7f13a8a081 (patch)
tree613f2ce5a4331395b97cc7cdb8f69e1edaf34ffb /usr.sbin/smtpd/tree.c
parent7150eb3de381ea36cb360b8972c9ef81b143c268 (diff)
when creating a db map, we use a temporary file to work on and atomically
move to destination when done. this causes dbopen() to be called with an empty file which happens to... not work with other db libraries. adding O_TRUNC is noop for us, fixes the issue for other libraries and lets us reduce delta between us and portable. ok sunil@, ok eric@
Diffstat (limited to 'usr.sbin/smtpd/tree.c')
0 files changed, 0 insertions, 0 deletions