aboutsummaryrefslogtreecommitdiff
path: root/misc/deco
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2000-01-04 13:49:28 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2000-01-04 13:49:28 +0000
commit2e8bf3c5e13b534bcc07442ecb16c0668a4cb623 (patch)
tree48547d29587846c8dbf2b462758354099c2f17c6 /misc/deco
parent189ccb0c776394b8e946af03086dd0fbe00a2f51 (diff)
downloadports-2e8bf3c5e13b534bcc07442ecb16c0668a4cb623.tar.gz
ports-2e8bf3c5e13b534bcc07442ecb16c0668a4cb623.zip
Y2K display fix.
Notes
Notes: svn path=/head/; revision=24410
Diffstat (limited to 'misc/deco')
-rw-r--r--misc/deco/files/patch-ac10
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';