diff options
Diffstat (limited to 'Build/source/texk/dvipdfm-x')
-rw-r--r-- | Build/source/texk/dvipdfm-x/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/dvipdfm-x/src/dvi.c | 6 | ||||
-rw-r--r-- | Build/source/texk/dvipdfm-x/xsrc/dvi.c | 10 |
3 files changed, 6 insertions, 14 deletions
diff --git a/Build/source/texk/dvipdfm-x/ChangeLog b/Build/source/texk/dvipdfm-x/ChangeLog index baaad496b6b..f3bb907f286 100644 --- a/Build/source/texk/dvipdfm-x/ChangeLog +++ b/Build/source/texk/dvipdfm-x/ChangeLog @@ -1,3 +1,7 @@ +2013-07-06 Akira Kakuto <kakuto@fuk.kindai.ac.jp> + + * src/dvi.c, xsrc/dvi.c: Use !FILESTRCASEEQ instead of STR_CMP + 2013-07-05 Peter Breitenlohner <peb@mppmu.mpg.de> * Removed diffs between src/ and xsrc/ version of these files diff --git a/Build/source/texk/dvipdfm-x/src/dvi.c b/Build/source/texk/dvipdfm-x/src/dvi.c index 9e18d63e73c..61a8ab8e456 100644 --- a/Build/source/texk/dvipdfm-x/src/dvi.c +++ b/Build/source/texk/dvipdfm-x/src/dvi.c @@ -1613,12 +1613,6 @@ dvi_do_page (long n, } } -#ifdef WIN32 -#define STR_CMP strcasecmp -#else -#define STR_CMP strcmp -#endif - double dvi_init (const char *dvi_filename, double mag) { diff --git a/Build/source/texk/dvipdfm-x/xsrc/dvi.c b/Build/source/texk/dvipdfm-x/xsrc/dvi.c index 0db3adf96b3..c540706e6d6 100644 --- a/Build/source/texk/dvipdfm-x/xsrc/dvi.c +++ b/Build/source/texk/dvipdfm-x/xsrc/dvi.c @@ -2201,12 +2201,6 @@ dvi_do_page (long n, } } -#ifdef WIN32 -#define STR_CMP strcasecmp -#else -#define STR_CMP strcmp -#endif - double dvi_init (char *dvi_filename, double mag) { @@ -2228,9 +2222,9 @@ dvi_init (char *dvi_filename, double mag) char *p; p = strrchr(dvi_filename, '.'); #ifdef XETEX - if (p == NULL || (STR_CMP(p, ".dvi") && STR_CMP(p, ".xdv"))) { + if (p == NULL || (!FILESTRCASEEQ(p, ".dvi") && !FILESTRCASEEQ(p, ".xdv"))) { #else - if (p == NULL || STR_CMP(p, ".dvi")) { + if (p == NULL || !FILESTRCASEEQ(p, ".dvi")) { #endif #ifdef XETEX strcat(dvi_filename, ".xdv"); |