git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cautiously added ENABLE_DISABLE_FSYNC and disable_fsync, hedged about
[exim.git]
/
src
/
src
/
deliver.c
diff --git
a/src/src/deliver.c
b/src/src/deliver.c
index fb853aa5d8f05e164166124e365108832af80095..fae67dc79e36643a2b1d6cfc1be83b141e89bc65 100644
(file)
--- a/
src/src/deliver.c
+++ b/
src/src/deliver.c
@@
-1,4
+1,4
@@
-/* $Cambridge: exim/src/src/deliver.c,v 1.4
0 2007/01/08 10:50:18
ph10 Exp $ */
+/* $Cambridge: exim/src/src/deliver.c,v 1.4
1 2007/01/22 16:29:54
ph10 Exp $ */
/*************************************************
* Exim - an Internet mail transport agent *
/*************************************************
* Exim - an Internet mail transport agent *
@@
-774,7
+774,7
@@
if (addr->return_file >= 0 && addr->return_filename != NULL)
{
BOOL return_output = FALSE;
struct stat statbuf;
{
BOOL return_output = FALSE;
struct stat statbuf;
- fsync(addr->return_file);
+
(void)EXIM
fsync(addr->return_file);
/* If there is no output, do nothing. */
/* If there is no output, do nothing. */
@@
-1979,7
+1979,7
@@
if (!shadowing)
/* Ensure the journal file is pushed out to disk. */
/* Ensure the journal file is pushed out to disk. */
- if (fsync(journal_fd) < 0)
+ if (
EXIM
fsync(journal_fd) < 0)
log_write(0, LOG_MAIN|LOG_PANIC, "failed to fsync journal: %s",
strerror(errno));
}
log_write(0, LOG_MAIN|LOG_PANIC, "failed to fsync journal: %s",
strerror(errno));
}