[hypermail] Re: [hypermail-dev] Bug fixing

From: Peter C. McCluskey <pcm_at_rahul.net_at_hypermail-project.org>
Date: Sat, 16 Aug 2003 15:50:55 -0700 (PDT)
Message-Id: <20030816225055.07F4ABC3C_at_violet.rahul.net>


 euler_at_free.fr (Jean-Charles Meyrignac) writes:
>The bug is simply that the email client inserted a 0x1A code into the mail,
>and fgets has a bug when it encounters 0x1A in text mode.
>
>To fix it, you have to replace in parse.c:
>else if ((fp = fopen(mbox, "r")) == NULL) {
>
>by:
>else if ((fp = fopen(mbox, "rb")) == NULL) {

 I wasn't able to duplicate this problem, but I have checked this change in anyway, as it doesn't do any harm where I've tested it and I'm willing to believe it's needed on some systems.

-- 
------------------------------------------------------------------------------
Peter McCluskey          | "To announce that there must be no criticism of
http://www.rahul.net/pcm | the President, or that we are to stand by the
                         | President right or wrong, is not only unpatriotic
                         | and servile, but morally treasonable to the
                         | American public." - Theodore Roosevelt
Received on Sat 16 Aug 2003 11:53:46 PM GMT

This archive was generated by hypermail 2.2.0 : Thu 22 Feb 2007 07:33:55 PM GMT GMT