From owner-freebsd-ports Sun Jan 3 17:10:09 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA03927 for freebsd-ports-outgoing; Sun, 3 Jan 1999 17:10:09 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA03918 for ; Sun, 3 Jan 1999 17:10:08 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id RAA28345; Sun, 3 Jan 1999 17:10:01 -0800 (PST) Received: from istari.home.net (cc158233-a.catv1.md.home.com [24.3.25.17]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA03466 for ; Sun, 3 Jan 1999 17:06:07 -0800 (PST) (envelope-from sjr@home.net) Received: (from sjr@localhost) by istari.home.net (8.9.1/8.8.6) id TAA29670; Sun, 3 Jan 1999 19:39:05 -0500 (EST) Message-Id: <199901040039.TAA29670@istari.home.net> Date: Sun, 3 Jan 1999 19:39:05 -0500 (EST) From: sjr@home.net Reply-To: sjr@home.net To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/9300: Y2K problem with nntp port Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 9300 >Category: ports >Synopsis: Y2K problem with nntp port >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jan 3 17:10:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Stephen J. Roznowski >Release: FreeBSD 3.0-CURRENT i386 >Organization: >Environment: >Description: Nntp-t5 suffers from a Y2K problem during the generation of the NEWNEWS command. >How-To-Repeat: >Fix: --- work/nntp-t5/server/date.c.orig Sun Jan 3 18:25:35 1999 +++ work/nntp-t5/server/date.c Sun Jan 3 18:25:51 1999 @@ -159,7 +159,7 @@ tp = gmtime(&date); (void) sprintf(timebuf, "%02d%02d%02d%02d%02d%02d", - tp->tm_year, + tp->tm_year % 100, tp->tm_mon + 1, /* 0 to 11??? How silly. */ tp->tm_mday, tp->tm_hour, >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message