From owner-cvs-all@FreeBSD.ORG Wed Sep 17 10:41:56 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C6D7916A4B3; Wed, 17 Sep 2003 10:41:56 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47AA643FBD; Wed, 17 Sep 2003 10:41:56 -0700 (PDT) (envelope-from gad@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id h8HHftXJ003643; Wed, 17 Sep 2003 10:41:55 -0700 (PDT) (envelope-from gad@repoman.freebsd.org) Received: (from gad@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id h8HHftkW003642; Wed, 17 Sep 2003 10:41:55 -0700 (PDT) (envelope-from gad) Message-Id: <200309171741.h8HHftkW003642@repoman.freebsd.org> From: Garance A Drosehn Date: Wed, 17 Sep 2003 10:41:55 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_4 Subject: cvs commit: src/usr.sbin/newsyslog newsyslog.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Sep 2003 17:41:56 -0000 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