From: Philip Hazel Date: Tue, 7 Nov 2006 11:07:43 +0000 (+0000) Subject: Add clearerr(stdin) in -bem code (needed for Darwin). X-Git-Tag: exim-4_64~34 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=935ff400bc242e824ad2e1d2b5571fb9e611f923;p=exim.git Add clearerr(stdin) in -bem code (needed for Darwin). --- diff --git a/src/src/exim.c b/src/src/exim.c index 622b1ed01..0b764e99a 100644 --- a/src/src/exim.c +++ b/src/src/exim.c @@ -1,4 +1,4 @@ -/* $Cambridge: exim/src/src/exim.c,v 1.47 2006/11/07 10:28:09 ph10 Exp $ */ +/* $Cambridge: exim/src/src/exim.c,v 1.48 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 */