rees@apollo.uucp (Jim Rees) (11/23/87)
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;
}