Date: Mon, 22 Dec 2008 10:00:24 -0600 (CST) From: Alan Amesbury <amesbury@umn.edu> To: FreeBSD-gnats-submit@FreeBSD.org Subject: misc/129860: [patch] File not Y2.01K compliant Message-ID: <20081222160025.2106F6D439@paulaner.oitsec.umn.edu> Resent-Message-ID: <200812221620.mBMGK10o098930@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 129860 >Category: misc >Synopsis: [patch] File not Y2.01K compliant >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Dec 22 16:20:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Alan Amesbury >Release: FreeBSD 7.0-RELEASE-p5 amd64 >Organization: University of Minnesota >Environment: System: FreeBSD paulaner.oitsec.umn.edu 7.0-RELEASE-p5 FreeBSD 7.0-RELEASE-p5 #1: Thu Oct 16 14:01:37 CDT 2008 root@:/usr/obj/usr/src/sys/OITSEC-7-AX32 amd64 >Description: While Y2K brought much attention to testing whether date-handling is correct or not, some things were unfortunately missed. In this case the problem was caused by failure to check an edge case, specifically whether the fortunes included in base are Y2.01K-compliant. >How-To-Repeat: Either run 'fortune -o' until the erroneous fortune comes up, or do: % cd /usr/share/games/fortune % /usr/games/rot13 < fortunes-o | grep -4 APPOINTMENT >Fix: The enclosed patch will correct fortune for the near future but, like most other 32-bit systems, a patch will be needed to function much beyond 2039. ---------- Patch for /usr/share/games/fortune/fortune-o ---------- --- fortunes-o.ORIG 2008-12-22 09:49:35.000000000 -0600 +++ fortunes-o 2008-12-22 09:50:41.000000000 -0600 @@ -4242,7 +4242,7 @@ NCCBVAGZRAG OBBX: Gur ersrerapr bs ynfg erfbeg jura gelvat gb qhpx haqrfverq vaivgngvbaf ("Trr, gur fbbarfg V pna crapvy lbh va vf - Qrprzore, 2009"), be jura gelvat gb svther bhg jung gur uryy + Qrprzore, 2039"), be jura gelvat gb svther bhg jung gur uryy vg jnf lbh qvq qhevat gur cnfg lrne. % Nccebkvzngryl 80% bs bhe nve cbyyhgvba fgrzf sebz ulqebpneobaf ---------- End patch ---------- No, this isn't a completely serious PR, but it's not without validity given that December, 2009, is less than a year away. The joke would probably fail starting in January, 2010. Marked low priority, non-critical for a reason..... :-) >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081222160025.2106F6D439>