Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site decvax.UUCP Path: utzoo!watmath!clyde!burl!ulysses!gamma!epsilon!zeta!sabre!petrus!bellcore!decvax!minow From: minow@decvax.UUCP (Martin Minow) Newsgroups: net.sources.bugs Subject: bug in mod.sources calend.c Message-ID: <160@decvax.UUCP> Date: Tue, 14-Jan-86 21:18:56 EST Article-I.D.: decvax.160 Posted: Tue Jan 14 21:18:56 1986 Date-Received: Thu, 16-Jan-86 05:03:24 EST Lines: 27 David Vezie (hplabs!well!dv) was kind enough to point out a small bug in my recent mod.sources posting of calend (rewrite of Unix cal). A diff of calend.c is attached. I would also note that a program to maintain appointment calendars, also named calend, has been posted to net.sources. You should rename my program if you have already implemented a utility named calend. Martin Minow decvax!minow %diff calend.c fixed_calend.c 69a70,72 > Parise, Frank, ed., The Book of Calendars, Facts on File, > New York, 1982. > 74a78,83 > /* > * Edit history > * 1978? ?? Original version for Decus C > * 27-Dec-1985 MM Usenet submission. > * 10-Jan-1986 DWV Bug in 1752 magic > */ 446c455 < else if (info.sept == 19 && today >= 3) /* The magical month? */ --- > else if (info.days_in_month == 19 && today >= 3) /* Magic time? */