cvs commit: src/usr.sbin/newsyslog newsyslog.c
Garance A Drosehn
gad at FreeBSD.org
Wed Sep 17 10:41:56 PDT 2003
gad 2003/09/17 10:41:55 PDT
FreeBSD src repository
Modified files: (Branch: RELENG_4)
usr.sbin/newsyslog newsyslog.c
Log:
Correct the calculation of "a leap year" in parseDWM. The previous
calculation would only match a leap year every 400 years. The first
time this bug would cause any noticeable problems is in Feb 2004.
This is similar to the change made in revision 1.2 of ptimes.c.
Approved by: re (murray)
Revision Changes Path
1.25.2.24 +37 -10 src/usr.sbin/newsyslog/newsyslog.c
More information about the cvs-src
mailing list