summaryrefslogtreecommitdiff
path: root/japanese/mh/files/patch-an
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/mh/files/patch-an')
-rw-r--r--japanese/mh/files/patch-an34
1 files changed, 0 insertions, 34 deletions
diff --git a/japanese/mh/files/patch-an b/japanese/mh/files/patch-an
deleted file mode 100644
index 0a67b1831849..000000000000
--- a/japanese/mh/files/patch-an
+++ /dev/null
@@ -1,34 +0,0 @@
---- zotnet/tws/dtimep.lex.orig Tue Feb 9 20:30:00 1999
-+++ zotnet/tws/dtimep.lex Tue Jan 4 11:32:43 2000
-@@ -181,6 +181,7 @@
-
- /* Zero out the struct. */
- bzero( (char *) &tw, sizeof tw);
-+ tw.tw_year = -1;
-
- /* Set default time zone. */
- #ifdef ZONEINFO
-@@ -205,17 +206,19 @@
- switch (cp = str, *cp ? lex_string( &str, start_cond) : 0) {
-
- case -1:
-- if (!gotdate || tw.tw_year == 0)
-+ if (!gotdate || tw.tw_year == -1)
- return (struct tws *)0;
- /* fall through */
- case 0:
-- if ( tw.tw_year == 0 ) {
-+ if ( tw.tw_year == -1 ) {
- /* Set default year. */
- time (&tclock);
- tw.tw_year = localtime(&tclock)->tm_year + 1900;
- }
-+ else if (tw.tw_year < 69) {
-+ tw.tw_year += 2000;
-+ }
- else if (tw.tw_year < 100) {
-- /* assume no 2-digit years > 1999 */
- tw.tw_year += 1900;
- }
- return &tw;
-