hypermail not handling files from stdin properly

From: Kevin Mulholland <kevin.mulholland_at_siemens.co.uk_at_hypermail-project.org>
Date: Thu, 09 Sep 1999 13:30:20 +0100
Message-ID: <37D7A85C.45147BB3_at_siemens.co.uk>

it seems to crash on fclose(fp) in parsemail parse.c, this seems to be because it is trying to close STDIN and crashing before getting a chance to remove the lockfile, subsequent use of hypermail must wait until the lockfile is 1 hour old.

my patch fixes this

the patch is against v2 alpha 2.4 with the 2a24 patch applied

-- 
Kevin Mulholland (kpm)
Phone internal x5464, external +44 161 688 3464
kevin.mulholland_at_siemens.co.uk

--- src/parse.c Thu Sep 9 13:07:42 1999 +++ /home/kevin/hypermail-2a24/src/parse.c Wed Sep 8 15:10:10 1999 _at_@ -2048,12 +2048,8 @@
#if 0
printf("\b\b\b\b%4d %s.\n", num, lang[MSG_ARTICLES]);
#endif
- - /* kpm - this is to prevent the closing of std and hypermail crashing - * if the input is from stdin - */ - if( fp != stdin) - fclose(fp); + + fclose(fp); crossindex(); threadlist = NULL;
Received on Thu 09 Sep 1999 03:26:20 PM GMT

This archive was generated by hypermail 2.3.0 : Sat 13 Mar 2010 03:46:11 AM GMT GMT