bug in mod.sources calend.c

Martin Minow minow at decvax.UUCP
Wed Jan 15 12:18:56 AEST 1986


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?	*/



More information about the Comp.sources.bugs mailing list