Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!necntc!dandelion!ulowell!apollo!rees From: rees@apollo.uucp (Jim Rees) Newsgroups: news.software.b Subject: More changes for C history with B 2.11 inews Message-ID: <38a60dbd.b8ab@apollo.uucp> Date: Mon, 23-Nov-87 09:30:00 EST Article-I.D.: apollo.38a60dbd.b8ab Posted: Mon Nov 23 09:30:00 1987 Date-Received: Thu, 26-Nov-87 06:29:45 EST Organization: Apollo Computer, Chelmsford, Mass. Lines: 41 If you applied my changes for C history with B inews, you will want to take this patch too. *** control.c.bak Mon Nov 9 17:06:13 1987 --- control.c Mon Nov 23 08:55:14 1987 *************** *** 642,647 struct tm *tm; log("Can't cancel %s: non-existent", argv[1]); (void) time(&t); tm = localtime(&t); #ifdef USG sprintf(bfr,"%s\t%2.2d/%2.2d/%d %2.2d:%2.2d\tcancelled", --- 642,650 ----- struct tm *tm; log("Can't cancel %s: non-existent", argv[1]); (void) time(&t); + #ifdef CHIST + sprintf(bfr, "%s\t%ld~-\tcancelled", argv[1], t); + #else tm = localtime(&t); #ifdef USG sprintf(bfr,"%s\t%2.2d/%2.2d/%d %2.2d:%2.2d\tcancelled", *************** *** 650,655 #endif /* !USG */ argv[1], tm->tm_mon+1, tm->tm_mday, tm->tm_year, tm->tm_hour, tm->tm_min); savehist(bfr); return -1; } --- 653,659 ----- #endif /* !USG */ argv[1], tm->tm_mon+1, tm->tm_mday, tm->tm_year, tm->tm_hour, tm->tm_min); + #endif /* CHIST */ savehist(bfr); return -1; }