articles saved from readnews 2.10.1 have cruddy "From " line
matt at oddjob.UChicago.UUCP
matt at oddjob.UChicago.UUCP
Sat Jun 16 08:46:19 AEST 1984
Index: rfuncs2.c FIX
Description:
The readnews "s" command creates a unix From line so that saved
articles can be perused with mail. This from line has a garbaged
date and on our system, mail won't even recognize this as a From
line.
Repeat-By:
Save this article with "s- phile", then do "head -1 phile | cat -v"
Fix:
In the routine save() in rfuncs2.c, hh.subtime is used without
being set. Hread() does not set this field. Add one line to
save():
---------------
/*
* V7MAIL code is here to conform to V7 mail format.
* If you need a different format to be able to
* use your local mail command (such as four ^A's
* on the end of articles) substitute it here.
*/
#ifdef V7MAIL
+ hh.subtime = cgtdate(hh.subdate); /* NOT SET BY hread() */
fprintf(ufp, "From %s %s",
#ifdef INTERNET
hh.from,
#else
hh.path,
#endif
ctime(&hh.subtime));
#endif
___________________________________________________________
Matt University ARPA: crawford at anl-mcs.arpa
Crawford of Chicago UUCP: ihnp4!oddjob!matt
More information about the Net.bugs
mailing list