texlive[47728] Build/source/texk/dvipdfm-x: revert (windows only)
commits+kakuto at tug.org
commits+kakuto at tug.org
Wed May 16 11:21:54 CEST 2018
Revision: 47728
http://tug.org/svn/texlive?view=revision&revision=47728
Author: kakuto
Date: 2018-05-16 11:21:53 +0200 (Wed, 16 May 2018)
Log Message:
-----------
revert (windows only)
Modified Paths:
--------------
trunk/Build/source/texk/dvipdfm-x/ChangeLog
trunk/Build/source/texk/dvipdfm-x/pdfparse.c
Modified: trunk/Build/source/texk/dvipdfm-x/ChangeLog
===================================================================
--- trunk/Build/source/texk/dvipdfm-x/ChangeLog 2018-05-16 04:07:27 UTC (rev 47727)
+++ trunk/Build/source/texk/dvipdfm-x/ChangeLog 2018-05-16 09:21:53 UTC (rev 47728)
@@ -1,3 +1,9 @@
+2018-05-16 Akira Kakuto <kakuto at fuk.kindai.ac.jp>
+
+ * pdfparse.c: Revert. The changes on 2018-05-14 must be
+ problematic. Again, kanji characters including 0x5c can't be
+ used as names of image files in (e)-pTeX.
+
2018-05-14 Akira Kakuto <kakuto at fuk.kindai.ac.jp>
* pdfparse.c: Allow image file names including 0x5c for
Modified: trunk/Build/source/texk/dvipdfm-x/pdfparse.c
===================================================================
--- trunk/Build/source/texk/dvipdfm-x/pdfparse.c 2018-05-16 04:07:27 UTC (rev 47727)
+++ trunk/Build/source/texk/dvipdfm-x/pdfparse.c 2018-05-16 09:21:53 UTC (rev 47728)
@@ -503,13 +503,6 @@
while (p < endptr) {
-#ifdef _WIN32
- int check_kanji;
- if (p > *pp && (IS_KANJI(p-1)))
- check_kanji = 1;
- else
- check_kanji = 0;
-#endif
ch = p[0];
if (ch == ')' && op_count < 1)
@@ -539,22 +532,10 @@
switch (ch) {
case '\\':
-#ifdef _WIN32
- if (check_kanji == 0) {
- ch = ps_getescc(&p, endptr);
- if (ch >= 0)
- sbuf[len++] = (ch & 0xff);
- } else {
- sbuf[len++] = ch;
- p++;
- }
- break;
-#else
ch = ps_getescc(&p, endptr);
if (ch >= 0)
sbuf[len++] = (ch & 0xff);
break;
-#endif /* _WIN32 */
case '\r':
p++;
if (p < endptr && p[0] == '\n')
More information about the tex-live-commits
mailing list