diff options
Diffstat (limited to 'japanese/mh/files/patch-al')
-rw-r--r-- | japanese/mh/files/patch-al | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/japanese/mh/files/patch-al b/japanese/mh/files/patch-al deleted file mode 100644 index 37c618abf428..000000000000 --- a/japanese/mh/files/patch-al +++ /dev/null @@ -1,38 +0,0 @@ ---- zotnet/tws/dtime.c.orig Tue Feb 9 20:30:00 1999 -+++ zotnet/tws/dtime.c Tue Jan 4 20:46:46 2000 -@@ -170,7 +170,7 @@ - tw.tw_hour = tm -> tm_hour; - tw.tw_mday = tm -> tm_mday; - tw.tw_mon = tm -> tm_mon; -- tw.tw_year = tm -> tm_year + CENTURY; -+ tw.tw_year = tm -> tm_year + 1900; - tw.tw_wday = tm -> tm_wday; - tw.tw_yday = tm -> tm_yday; - if (tm -> tm_isdst) -@@ -212,7 +212,7 @@ - tw.tw_hour = tm -> tm_hour; - tw.tw_mday = tm -> tm_mday; - tw.tw_mon = tm -> tm_mon; -- tw.tw_year = tm -> tm_year + CENTURY; -+ tw.tw_year = tm -> tm_year + 1900; - tw.tw_wday = tm -> tm_wday; - tw.tw_yday = tm -> tm_yday; - if (tm -> tm_isdst) -@@ -370,12 +370,14 @@ - || (min = tw -> tw_min) < 0 || min > 59 - || (hour = tw -> tw_hour) < 0 || hour > 23 - || (mday = tw -> tw_mday) < 1 || mday > 31 -- || (mon = tw -> tw_mon + 1) < 1 || mon > 12) -+ || (mon = tw -> tw_mon + 1) < 1 || mon > 12 -+ || (year = tw -> tw_year) < 0) - return (tw -> tw_clock = -1L); -- year = tw -> tw_year; - - result = 0L; -- if (year < 100) -+ if (year < 69) -+ year += CENTURY + 100; -+ else if (year < 100) - year += CENTURY; - for (i = 1970; i < year; i++) - result += dysize (i); |