diff options
author | ru <ru@FreeBSD.org> | 2000-01-04 21:49:28 +0800 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2000-01-04 21:49:28 +0800 |
commit | 1664cf7d0637349b1395c068cf59a62c32facd2e (patch) | |
tree | 367c95fdf5c5a587fa4f08c37e278eb7872d308f /misc/deco/files | |
parent | 00a386ea08a29c3e988a444ffeb2fc7862ce2e86 (diff) | |
download | freebsd-ports-graphics-1664cf7d0637349b1395c068cf59a62c32facd2e.tar.gz freebsd-ports-graphics-1664cf7d0637349b1395c068cf59a62c32facd2e.tar.zst freebsd-ports-graphics-1664cf7d0637349b1395c068cf59a62c32facd2e.zip |
Y2K display fix.
Diffstat (limited to 'misc/deco/files')
-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 00000000000..7b3053456ef --- /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'; |