Re: [hypermail-dev] Bug fixing

---------

From: Peter C. McCluskey (pcm@rahul.net)
Date: Sat Aug 16 2003 - 17:50:55 CDT


 euler@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

---------

This archive was generated by hypermail 2.1.7.