Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jan 1999 16:23:38 +1100
From:      Peter Jeremy <peter.jeremy@auss2.alcatel.com.au>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   bin/9502: `me' macro documentation incorrectly defines \n(yr
Message-ID:  <99Jan15.162301est.40342@border.alcanet.com.au>

next in thread | raw e-mail | index | archive | help

>Number:         9502
>Category:       bin
>Synopsis:       `me' macro documentation incorrectly defines \n(yr
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 14 21:30:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Peter Jeremy
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
Alcatel Australia
>Environment:

	

>Description:

The groff number register `yr' is assigned from a (struct tm).tm_year
and therefore represents the number of years since 1900, not the
year within the century (see definition in troff/input.cc).

>How-To-Repeat:

Code inspection

>Fix:
	
--- /3.0/src/contrib/groff/doc/meref.me	Sun Sep  8 02:18:32 1996
+++ ./meref.me	Fri Jan 15 14:46:37 1999
@@ -1827,7 +1827,7 @@
 for example, \*(mo is \n(mo),
 and
 .NR (yr
-(the last two digits of the current year).
+(the number of years since 1900).
 .TL
 .ST (lq
 .DE
@@ -2184,7 +2184,7 @@
 \&.xp	M	print index
 \en(xs	R	index entry prespace
 \en(xu	R	index undent (from right margin)
-\en(yr	R\(sc	year (last two digits only)
+\en(yr	R\(sc	year (years since 1900)
 \en(zs	R	floating keep pre/post space
 \e{	F\(sc	begin conditional group
 \e|	F\(sc	1/6 em narrow space
--- /3.0/src/share/doc/usd/20.meref/ref.me	Tue May 31 05:08:31 1994
+++ ./ref.me	Fri Jan 15 14:46:37 1999
@@ -1995,7 +1995,7 @@
 for example, \*(mo is \n(mo),
 and
 .NR (yr
-(the last two digits of the current year).
+(the number of years since 1900).
 .TL
 .ST (lq
 .DE
@@ -2374,7 +2374,7 @@
 \&.xp	M	print index
 \en(xs	R	index entry prespace
 \en(xu	R	index undent (from right margin)
-\en(yr	R\(sc	year (last two digits only)
+\en(yr	R\(sc	year (years since 1900)
 \en(zs	R	floating keep pre/post space
 \e{	F\(sc	begin conditional group
 \e|	F\(sc	1/6 em narrow space
--- /3.0/src/share/me/summary.external	Tue May 31 05:09:00 1994
+++ ./summary.external	Fri Jan 15 14:46:37 1999
@@ -230,7 +230,7 @@
 xp	M	print index
 xs	R	index entry prespace
 xu	R	index undent (from right margin)
-yr	R\(sc	year (last two digits only)
+yr	R\(sc	year (years since 1900)
 zs	R	floating keep pre/post space
 {	F\(sc	begin conditional group
 |	F\(sc	1/6 em narrow space
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?99Jan15.162301est.40342>