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
/
transports
/
appendfile.c
diff --git
a/src/src/transports/appendfile.c
b/src/src/transports/appendfile.c
index 8266bf9bb49427cc9284d803405eacd6e7b4ed40..f31232a0f496ffd45632b637dffb884b62cd11c0 100644
(file)
--- a/
src/src/transports/appendfile.c
+++ b/
src/src/transports/appendfile.c
@@
-1,4
+1,4
@@
-/* $Cambridge: exim/src/src/transports/appendfile.c,v 1.2
0 2007/01/08 10:50:20
ph10 Exp $ */
+/* $Cambridge: exim/src/src/transports/appendfile.c,v 1.2
1 2007/01/22 16:29:55
ph10 Exp $ */
/*************************************************
* Exim - an Internet mail transport agent *
/*************************************************
* Exim - an Internet mail transport agent *
@@
-2791,7
+2791,7
@@
if (temp_file != NULL && ob->mbx_format)
/* Force out the remaining data to check for any errors; some OS don't allow
fsync() to be called for a FIFO. */
/* Force out the remaining data to check for any errors; some OS don't allow
fsync() to be called for a FIFO. */
-if (yield == OK && !isfifo && fsync(fd) < 0) yield = DEFER;
+if (yield == OK && !isfifo &&
EXIM
fsync(fd) < 0) yield = DEFER;
/* Update message_size to the accurate count of bytes written, including
added headers. */
/* Update message_size to the accurate count of bytes written, including
added headers. */