Date: Wed, 17 Sep 2003 10:41:55 -0700 (PDT) From: Garance A Drosehn <gad@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/newsyslog newsyslog.c Message-ID: <200309171741.h8HHftkW003642@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309171741.h8HHftkW003642>
