diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2000-01-04 13:49:28 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2000-01-04 13:49:28 +0000 |
commit | 2e8bf3c5e13b534bcc07442ecb16c0668a4cb623 (patch) | |
tree | 48547d29587846c8dbf2b462758354099c2f17c6 /misc/deco/files/patch-ac | |
parent | Synchronize with upgrading emacs-20.5(a). (diff) |
Y2K display fix.
Diffstat (limited to '')
-rw-r--r-- | misc/deco/files/patch-ac | 10 |
1 files changed, 10 insertions, 0 deletions
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'; |