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 03:57:02
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 20:56:57 -0700 (PDT)
I see that the same problem exists with current calendar.c
And it also happens today with:
14/Mar TEST
getfield() find the day: 14
which makes the following work:
if (flags & F_ISDAY || v1 > 12) {
/* found a day */
day = v1;
month = tp->tm_mon + 1; /* current month */
and so next getfield() is skipped.
The man page is wrong. Or the calendar.c is wrong.
Jeremy C. Reed
BSD News, BSD tutorials, BSD links
http://www.bsdnewsletter.com/