diff options
author | Philip Hazel <ph10@hermes.cam.ac.uk> | 2006-11-07 11:07:43 +0000 |
---|---|---|
committer | Philip Hazel <ph10@hermes.cam.ac.uk> | 2006-11-07 11:07:43 +0000 |
commit | 935ff400bc242e824ad2e1d2b5571fb9e611f923 (patch) | |
tree | 14dd2a8678971d638c0238425e6154b1058dc7f7 | |
parent | 2d2b05f476c12d85519b3bf8997585c8631004da (diff) |
Add clearerr(stdin) in -bem code (needed for Darwin).
-rw-r--r-- | src/src/exim.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 */ |