From owner-freebsd-bugs Thu Jan 20 17:50: 3 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 39D0B1543A for ; Thu, 20 Jan 2000 17:50:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA94155; Thu, 20 Jan 2000 17:50:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Thu, 20 Jan 2000 17:50:02 -0800 (PST) Message-Id: <200001210150.RAA94155@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Bill Fenner Subject: Re: bin/16207: y2k problem in troff (e.g. 'man hosts.equiv') Reply-To: Bill Fenner Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/16207; it has been noted by GNATS. From: Bill Fenner To: emon@kuis.kyoto-u.ac.jp, chuckr@freebsd.org Cc: freebsd-gnats-submit@freebsd.org Subject: Re: bin/16207: y2k problem in troff (e.g. 'man hosts.equiv') Date: Thu, 20 Jan 2000 17:46:10 -0800 Also see PRs gnu/4930, gnu/8321, bin/9502, and the *roff documentation (which documents that yr is the last 2 digits of the year), and groff v1.15 (which keeps it years since 1900 and adds Y2K fixes to the mandoc and me macros based upon this. ms didn't need fixing and orig_me (from /usr/src/share/me) is not part of groff but also expects yr to be years-since-1900). \(yr holding "the last 2 digits of the year" is broken as designed, since then there is no way for *roff macros to know the century. The fix for bin/9502 made FreeBSD incompatible with everything else; I think it should be reverted. Bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message