From 2e8bf3c5e13b534bcc07442ecb16c0668a4cb623 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Tue, 4 Jan 2000 13:49:28 +0000 Subject: Y2K display fix. --- misc/deco/files/patch-ac | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 misc/deco/files/patch-ac (limited to 'misc/deco/files/patch-ac') diff --git a/misc/deco/files/patch-ac b/misc/deco/files/patch-ac new file mode 100644 index 000000000000..7b3053456ef1 --- /dev/null +++ b/misc/deco/files/patch-ac @@ -0,0 +1,10 @@ +Index: ut.c +@@ -35,7 +35,7 @@ + + + strncpy (p+3, "JanFebMarAprMayJunJulAugSepOctNovDec"+t->tm_mon*3, 3); +- STOREINT (p+9, t->tm_year); ++ STOREINT (p+9, t->tm_year % 100); + if (t->tm_year < 100) { + p[7] = '1'; + p[8] = '9'; -- cgit v1.2.3