mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
Y2K display fix.
This commit is contained in:
parent
189ccb0c77
commit
2e8bf3c5e1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=24410
10
misc/deco/files/patch-ac
Normal file
10
misc/deco/files/patch-ac
Normal file
@ -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';
|
Loading…
Reference in New Issue
Block a user