git://git.exim.org
/
users
/
heiko
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d2b05f
)
Add clearerr(stdin) in -bem code (needed for Darwin).
author
Philip Hazel
<ph10@hermes.cam.ac.uk>
Tue, 7 Nov 2006 11:07:43 +0000
(11:07 +0000)
committer
Philip Hazel
<ph10@hermes.cam.ac.uk>
Tue, 7 Nov 2006 11:07:43 +0000
(11:07 +0000)
src/src/exim.c
patch
|
blob
|
history
diff --git
a/src/src/exim.c
b/src/src/exim.c
index 622b1ed01e4581d9d5d2526c0cbb2d1b03230cdf..0b764e99ab3544615a05fd5ca20614070e5c22a3 100644
(file)
--- a/
src/src/exim.c
+++ b/
src/src/exim.c
@@
-1,4
+1,4
@@
-/* $Cambridge: exim/src/src/exim.c,v 1.4
7 2006/11/07 10:28:09
ph10 Exp $ */
+/* $Cambridge: exim/src/src/exim.c,v 1.4
8 2006/11/07 11:07:43
ph10 Exp $ */
/*************************************************
* Exim - an Internet mail transport agent *
@@
-4238,6
+4238,7
@@
if (expansion_test)
message_linecount += body_linecount;
(void)dup2(save_stdin, 0);
(void)close(save_stdin);
+ clearerr(stdin); /* Required by Darwin */
}
/* Allow $recipients for this testing */