From owner-freebsd-bugs Wed Jan 12 14: 6: 6 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from mailgw1.be.to (mailgw1.be.to [210.235.212.5]) by hub.freebsd.org (Postfix) with ESMTP id 8823114CD0 for ; Wed, 12 Jan 2000 14:06:03 -0800 (PST) (envelope-from okazaki@be.to) Received: from mail1.be.to (point1.be.to [210.235.212.29]) by mailgw1.be.to (8.9.3+3.2W/BETO.2.1-2000011019000035) with ESMTP id HAA18049 for ; Thu, 13 Jan 2000 07:06:01 +0900 Received: from acidrain (ppp34-Mobara1.mtci.ne.jp [210.172.1.236]) by mail1.be.to (8.8.8+3.0Wbeta13/BETO.2.0-1999110714000000) with SMTP id HAA31928 for ; Thu, 13 Jan 2000 07:05:59 +0900 Received: (qmail 2132 invoked from network); 12 Jan 2000 22:02:49 -0000 Received: from localhost (HELO acidrain.localnet) (127.0.0.1) by localhost with SMTP; 12 Jan 2000 22:02:49 -0000 Date: Thu, 13 Jan 2000 07:02:47 +0900 Message-ID: <863ds3c5iw.wl@dolphin.be.to> From: OKAZAKI Tetsurou To: asmodai@FreeBSD.ORG Cc: superboy@LSH.org, freebsd-bugs@FreeBSD.ORG Subject: Re: gnu/16045: groff 1.11 Y2K bug In-Reply-To: In your message of "Wed, 12 Jan 2000 05:44:03 -0800 (PST)" <200001121344.FAA30558@freefall.freebsd.org> References: <200001121344.FAA30558@freefall.freebsd.org> User-Agent: Wanderlust/2.2.15 (More Than Words) SEMI/1.13.7 (Awazu) CLIME/1.13.6 (=?ISO-2022-JP?B?GyRCQ2YlTj4xGyhC?=) Emacs/20.5 (i386--freebsd) MULE/4.0 (HANANOEN) Organization: Unknown MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Synopsis: groff 1.11 Y2K bug The originator of this PR wanted to say is there are still inconsistencies about the handling of the number register `yr' even after bin/9502 closed. We modified troff/input.cc so that the `yr' value can be the "last 2 digits of this year" after 2000. But some macros assume that the `yr' has the value of the "year minus 1900." /usr/share/tmac/mdoc/doc-common:.nr Yr \n(yr+1900 /usr/share/tmac/tmac.e:.nr y2 \n(yr%100 /usr/share/tmac/tmac.e:.nr y4 \n(yr+1900 /usr/share/tmac/tmac.orig_me:.ds td \*(mo \n(dy, \n(yr+1900 /usr/share/tmac/tmac.s:.nr *year \n[yr]+1900 GNU groff team changed their documentation since groff-1.12, but doesn't touch their implementation of the `yr' register. \en(y2 R year (last two digits only) \en(y4 R year (all digits) \en(yr R\(sc year minus 1900 [from doc/meref.me] How-To-Repeat:-) % cd /usr/src/contrib/groff/doc % groff -me -Tascii meref.me |less -p td \*(td Today's date, directly printable. The date is of the form January 12, ????. Other forms of the Please check out the following too... % groff -morig_me -Tascii meref.me |less -p td Look at the sentence of "The date is of the form ..." like this: \*(td Today's date, directly printable. The date is of the form January 10, ??????. Other forms of the To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message