[exim-cvs] cvs commit: exim/exim-src/src exim.c

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: exim-cvs
Subject: [exim-cvs] cvs commit: exim/exim-src/src exim.c
ph10 2006/11/07 11:07:43 GMT

  Modified files:
    exim-src/src         exim.c 
  Log:
  Add clearerr(stdin) in -bem code (needed for Darwin).


  Revision  Changes    Path
  1.48      +1 -0      exim/exim-src/src/exim.c


  Index: exim.c
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/exim.c,v
  retrieving revision 1.47
  retrieving revision 1.48
  diff -u -r1.47 -r1.48
  --- exim.c    7 Nov 2006 10:28:09 -0000    1.47
  +++ exim.c    7 Nov 2006 11:07:43 -0000    1.48
  @@ -1,4 +1,4 @@
  -/* $Cambridge: exim/exim-src/src/exim.c,v 1.47 2006/11/07 10:28:09 ph10 Exp $ */
  +/* $Cambridge: exim/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 @@
       message_linecount += body_linecount;
       (void)dup2(save_stdin, 0);
       (void)close(save_stdin);
  +    clearerr(stdin);               /* Required by Darwin */
       }


     /* Allow $recipients for this testing */