From 935ff400bc242e824ad2e1d2b5571fb9e611f923 Mon Sep 17 00:00:00 2001 From: Philip Hazel Date: Tue, 7 Nov 2006 11:07:43 +0000 Subject: [PATCH] Add clearerr(stdin) in -bem code (needed for Darwin). --- src/src/exim.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 */ -- 2.30.2