Files
ports/converters/ish/files/patch-decode.c
T
Philip M. Gollucci 4c86d51bb9 - Update to 2.01a5
- Display trouble correction that originates in problem for y2k fix.

PR:             ports/143305
Submitted by:   Takefu <takefu@airport.fm>
2010-02-10 03:08:13 +00:00

12 lines
346 B
C

--- decode.c.orig 1996-01-07 19:46:37.000000000 +0900
+++ decode.c 2010-01-28 10:48:29.000000000 +0900
@@ -265,7 +265,7 @@
fprintf(stderr, " ) ");
if (head->tstamp != 0) {
p = head->time;
- tm.tm_year = (p[3]>>1)+80;
+ tm.tm_year = (p[3]>>1)+1980;
tm.tm_mon = (p[3]&0x01)<<3;
tm.tm_mon += (p[2]>>5) - 1;
tm.tm_mday = p[2]&0x1f;