Bug 15852

Summary: predefined \*(DT string has Y2K bug
Product: Base System Reporter: gordon <gordon>
Component: binAssignee: Jeroen Ruigrok van der Werven <asmodai>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 3.3-RELEASE   
Hardware: Any   
OS: Any   

Description gordon 2000-01-03 00:00:01 UTC
	The \*(DT string expands to "January 2, 190" on January 2, 2000.

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.
How-To-Repeat: % nroff -mm
.pl 2i
\*(DT
^D
%

(The .pl 2i part is to keep output from scrolling off the screen.)
Comment 1 Steve Price freebsd_committer freebsd_triage 2000-01-03 01:27:40 UTC
Responsible Changed
From-To: gnats-admin->freebsd-bugs

Misfiled PR. 
Comment 2 Jeroen Ruigrok van der Werven freebsd_committer freebsd_triage 2000-01-30 20:50:36 UTC
Responsible Changed
From-To: freebsd-bugs->asmodai

I am the person who is taking up groff problems and tries to solve 
them. =) 
Comment 3 Jeroen Ruigrok van der Werven freebsd_committer freebsd_triage 2001-02-19 19:46:04 UTC
State Changed
From-To: open->suspended

It is doubtful groff will get updated on 3-STABLE, but I'll try. 
In the meantime I'll put this to suspended.
Comment 4 Jeroen Ruigrok van der Werven freebsd_committer freebsd_triage 2001-06-20 15:17:14 UTC
State Changed
From-To: suspended->closed

Ruslan confirmed my belief that this has been fixed in 3.5-RELEASE since.