X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Fspool_mbox.c;h=749484f2b0974bd891dffaf847033731de4f7b4d;hb=ecce6d9ac4fa63cc7e011c21a033f5b6c54a3995;hp=16b0a332cc73bdd4c1c95bfb477199cfbce34f21;hpb=c5db348c5e29e93e51389fa0079f829967c5da82;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/spool_mbox.c b/src/src/spool_mbox.c index 16b0a332c..749484f2b 100644 --- a/src/src/spool_mbox.c +++ b/src/src/spool_mbox.c @@ -4,7 +4,7 @@ /* Copyright (c) Tom Kistner 2003 - 2015 * License: GPL - * Copyright (c) The Exim Maintainers 2017 + * Copyright (c) The Exim Maintainers 2016 - 2018 */ /* Code for setting up a MBOX style spool file inside a /scan/ @@ -132,7 +132,7 @@ if (!spool_mbox_ok) /* The code used to use this line, but it doesn't work in Cygwin. (void)fread(data_buffer, 1, 18, data_file); - + What's happening is that spool_mbox used to use an fread to jump over the file header. That fails under Cygwin because the header is locked, but doing an fseek succeeds. We have to output the leading newline