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
@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
PROG= mail.local
|
PROG= mail.local
|
||||||
MAN8= mail.local.8
|
MAN8= mail.local.8
|
||||||
# CFLAGS+= -DEXTRA_SAFETY
|
.if defined(DONT_FSYNC)
|
||||||
|
CFLAGS+= -DDONT_FSYNC
|
||||||
|
.endif
|
||||||
BINOWN= root
|
BINOWN= root
|
||||||
BINMODE=4555
|
BINMODE=4555
|
||||||
INSTALLFLAGS=-fschg
|
INSTALLFLAGS=-fschg
|
||||||
|
@ -298,7 +298,7 @@ err1: (void)close(mbfd);
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef EXTRA_SAFETY
|
#ifndef DONT_FSYNC
|
||||||
/* Flush to disk, don't wait for update. */
|
/* Flush to disk, don't wait for update. */
|
||||||
if (fsync(mbfd)) {
|
if (fsync(mbfd)) {
|
||||||
e_to_sys(errno);
|
e_to_sys(errno);
|
||||||
|
Loading…
Reference in New Issue
Block a user