From owner-freebsd-ports Tue Feb 1 11:45:28 2000 Delivered-To: freebsd-ports@freebsd.org Received: from horst.bfd.com (horst.bfd.com [12.9.219.10]) by builder.freebsd.org (Postfix) with ESMTP id 589123F2D; Tue, 1 Feb 2000 11:45:15 -0800 (PST) Received: from HARLIE.bfd.com (bastion.bfd.com [12.9.219.14]) by horst.bfd.com (8.9.3/8.9.3) with ESMTP id LAA35157; Tue, 1 Feb 2000 11:45:01 -0800 (PST) (envelope-from ejs@bfd.com) Date: Tue, 1 Feb 2000 11:45:01 -0800 (PST) From: "Eric J. Schwertfeger" To: Igor Roshchin Cc: andreas@klemm.gtn.com, freebsd-bugs@FreeBSD.ORG, ports@FreeBSD.ORG Subject: Re: wwwstat-2.01 port is not Y2K compliant In-Reply-To: <200002011515.KAA36738@giganda.komkon.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 1 Feb 2000, Igor Roshchin wrote: > > Hello, > > 1.5 months ago I reported the problem with the wwwstat-2.01 port, > both to the maintainer, the list, and via pr. > (Later, I added some more to the description of the problem - > see the depository - there is a deeper problem - related to > perl's $year returning "100" and no "00" in 2000) FYI, returning 100 for the year 2000 is the correct, documented behavior. perl's localtime() is a mirror of the standard library function localtime(), which returns the value year-1900 as the value of the year variable. Expecting $year to always be two digits is the error. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message