Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 6/7/83; site hao.UUCP Path: utzoo!linus!philabs!seismo!hao!pag From: pag@hao.UUCP Newsgroups: net.news.b Subject: Minor 2.10 bug in rfuncs2.c Message-ID: <536@hao.UUCP> Date: Sat, 11-Jun-83 17:25:15 EDT Article-I.D.: hao.536 Posted: Sat Jun 11 17:25:15 1983 Date-Received: Sun, 12-Jun-83 06:37:08 EDT Organization: High Altitude Obs./NCAR, Boulder CO Lines: 32 There is a bug in 2.10 that causes incorrect dates to be put in the header of articles that are saved in a file (via the 's' command of readnews). This is caused because there is a call to ctime: ctime(&hh.subtime); but hh.subtime has never been assigned. The fix is simple: approx line 117: *****orig****** #ifdef V7MAIL fprintf(ufp, "From %s %s", #ifdef INTERNET hh.from, #else hh.path, #endif ctime(&hh.subtime)); #endif *****fixed******* #ifdef V7MAIL + hh.subtime = cgtdate(hh.subdate); fprintf(ufp, "From %s %s", #ifdef INTERNET hh.from, #else hh.path, #endif ctime(&hh.subtime)); #endif --peter