Revert fsync ifdef behaviour and name, now default variant acts like

original one.
Suggested by: peter
This commit is contained in:
Andrey A. Chernov 1995-10-31 09:16:46 +00:00
parent 46e838403c
commit e2326c6ef6
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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);