Revert fsync ifdef behaviour and name, now default variant acts like
original one. Suggested by: peter
This commit is contained in:
parent
46e838403c
commit
e2326c6ef6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=11952
@ -2,7 +2,9 @@
|
||||
|
||||
PROG= mail.local
|
||||
MAN8= mail.local.8
|
||||
# CFLAGS+= -DEXTRA_SAFETY
|
||||
.if defined(DONT_FSYNC)
|
||||
CFLAGS+= -DDONT_FSYNC
|
||||
.endif
|
||||
BINOWN= root
|
||||
BINMODE=4555
|
||||
INSTALLFLAGS=-fschg
|
||||
|
@ -298,7 +298,7 @@ err1: (void)close(mbfd);
|
||||
return;
|
||||
}
|
||||
|
||||
#ifdef EXTRA_SAFETY
|
||||
#ifndef DONT_FSYNC
|
||||
/* Flush to disk, don't wait for update. */
|
||||
if (fsync(mbfd)) {
|
||||
e_to_sys(errno);
|
||||
|
Loading…
Reference in New Issue
Block a user