From gordon@sneaky.lerctr.org  Sun Jan  2 15:56:57 2000
Return-Path: <gordon@sneaky.lerctr.org>
Received: from hammy.lonestar.org (hammy.lonestar.org [206.138.224.67])
	by hub.freebsd.org (Postfix) with ESMTP id CFA5714C8C
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  2 Jan 2000 15:56:56 -0800 (PST)
	(envelope-from gordon@sneaky.lerctr.org)
Received: from gerbil.hammy.lonestar.org(src addr [206.138.224.66]) (1751 bytes) by hammy.lonestar.org
	via sendmail with P\:esmtp/R:bind_hosts/T:inet_zone_bind_smtp
	(sender: <gordon@sneaky.lerctr.org>) 
	id <m124urn-00001TC@hammy.lonestar.org>
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 2 Jan 2000 17:56:55 -0600 (CST)
	(Smail-3.2.0.96 1997-Jun-2 #108 built 1999-Dec-20)
Received: from localhost (1184 bytes) by gerbil.hammy.lonestar.org
	via sendmail with P:stdio/R:smart_host/T:smtp
	(sender: <gordon>) (ident <gordon> using unix)
	id <m124urn-00002nC@gerbil.hammy.lonestar.org>
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 2 Jan 2000 17:56:55 -0600 (CST)
	(Smail-3.2.0.96 1997-Jun-2 #108 built 1999-Dec-20)
Message-Id: <m124urn-00002nC@gerbil.hammy.lonestar.org>
Date: Sun, 2 Jan 2000 17:56:55 -0600 (CST)
From: gordon@hammy.lonestar.org
Sender: gordon@sneaky.lerctr.org
Reply-To: gordon@hammy.lonestar.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: predefined *(DT string has Y2K bug <Synopsis of the problem (one line)>
X-Send-Pr-Version: 3.2

>Number:         15852
>Category:       bin
>Synopsis:       predefined \*(DT string has Y2K bug
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    asmodai
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan  2 16:00:01 PST 2000
>Closed-Date:    Wed Jun 20 07:17:14 PDT 2001
>Last-Modified:  Wed Jun 20 07:18:49 PDT 2001
>Originator:     Gordon Burditt
>Release:        FreeBSD 3.3-RELEASE i386
>Organization:
>Environment:

	FreeBSD 3.3-RELEASE (latest FreeBSD-STABLE seems to have the same code).
	

>Description:
	The \*(DT string expands to "January 2, 190" on January 2, 2000.

	

>How-To-Repeat:
% nroff -mm
.pl 2i
\*(DT
^D
%

(The .pl 2i part is to keep output from scrolling off the screen.)

	

>Fix:
	
	
The \n[yr] macro needs to reflect the 4 DIGIT YEAR, (in 
/usr/src/contrib/groff/troff/input.cc, line 5546, change 
int(tt->tm_year)%100 to int(tt->tm_year)+1900 ) and windowing attempts
in macro packages need to be changed to reflect this.


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->freebsd-bugs 
Responsible-Changed-By: steve 
Responsible-Changed-When: Sun Jan 2 17:27:40 PST 2000 
Responsible-Changed-Why:  
Misfiled PR. 
Responsible-Changed-From-To: freebsd-bugs->asmodai 
Responsible-Changed-By: asmodai 
Responsible-Changed-When: Sun Jan 30 12:50:36 PST 2000 
Responsible-Changed-Why:  
I am the person who is taking up groff problems and tries to solve 
them. =) 
State-Changed-From-To: open->suspended 
State-Changed-By: asmodai 
State-Changed-When: Mon Feb 19 11:46:04 PST 2001 
State-Changed-Why:  
It is doubtful groff will get updated on 3-STABLE, but I'll try. 
In the meantime I'll put this to suspended. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=15852 
State-Changed-From-To: suspended->closed 
State-Changed-By: asmodai 
State-Changed-When: Wed Jun 20 07:17:14 PDT 2001 
State-Changed-Why:  
Ruslan confirmed my belief that this has been fixed in 3.5-RELEASE since. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=15852 
>Unformatted:
