Subject: Re: bin/20319
To: None <atatat@netbsd.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-bugs
Date: 07/15/2005 04:02:01
The following reply was made to PR bin/20319; it has been noted by GNATS.
From: "Jeremy C. Reed" <reed@reedmedia.net>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: bin/20319
Date: Thu, 14 Jul 2005 21:01:54 -0700 (PDT)
Please test:
Index: usr.bin/calendar/calendar.c
===================================================================
RCS file: /cvsroot/src/usr.bin/calendar/calendar.c,v
retrieving revision 1.37
diff -b -u -r1.37 calendar.c
--- usr.bin/calendar/calendar.c 2 Jun 2005 01:39:24 -0000 1.37
+++ usr.bin/calendar/calendar.c 15 Jul 2005 04:01:08 -0000
@@ -256,7 +256,6 @@
if (flags & F_ISDAY || v1 > 12) {
/* found a day */
day = v1;
- month = tp->tm_mon + 1;
} else if (flags & F_ISMONTH) {
month = v1;
/* if no recognizable day, assume the first */
Jeremy C. Reed
BSD News, BSD tutorials, BSD links
http://www.bsdnewsletter.com/