texlive[48811] Build/source/texk/web2c/pdftexdir: remove changes for
commits+kakuto at tug.org
commits+kakuto at tug.org
Tue Oct 2 16:33:10 CEST 2018
Revision: 48811
http://tug.org/svn/texlive?view=revision&revision=48811
Author: kakuto
Date: 2018-10-02 16:33:09 +0200 (Tue, 02 Oct 2018)
Log Message:
-----------
remove changes for w32
Modified Paths:
--------------
trunk/Build/source/texk/web2c/pdftexdir/ChangeLog
trunk/Build/source/texk/web2c/pdftexdir/pdftoepdf.cc
Modified: trunk/Build/source/texk/web2c/pdftexdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/pdftexdir/ChangeLog 2018-10-02 03:41:35 UTC (rev 48810)
+++ trunk/Build/source/texk/web2c/pdftexdir/ChangeLog 2018-10-02 14:33:09 UTC (rev 48811)
@@ -1,3 +1,7 @@
+2018-10-02 Akira Kakuto <kakuto at fuk.kindai.ac.jp>
+
+ * pdftoepdf.cc: Remove changes for w32.
+
2018-09-23 Akira Kakuto <kakuto at fuk.kindai.ac.jp>
* pdftosrc-newpoppler.cc: Add a comment that it works upto
Modified: trunk/Build/source/texk/web2c/pdftexdir/pdftoepdf.cc
===================================================================
--- trunk/Build/source/texk/web2c/pdftexdir/pdftoepdf.cc 2018-10-02 03:41:35 UTC (rev 48810)
+++ trunk/Build/source/texk/web2c/pdftexdir/pdftoepdf.cc 2018-10-02 14:33:09 UTC (rev 48811)
@@ -166,16 +166,6 @@
static PdfDocument *find_add_document(char *file_name)
{
PdfDocument *p = pdfDocuments;
-#ifdef _WIN32
- int file_name_is_changed = 0;
- wchar_t *fnamew;
- if (file_system_codepage == CP_UTF8 && win32_codepage != CP_UTF8) {
- fnamew = get_wstring_from_mbstring(CP_UTF8, file_name, fnamew=NULL);
- file_name = get_mbstring_from_wstring(win32_codepage, fnamew, file_name=NULL);
- file_name_is_changed = 1;
- xfree(fnamew);
- }
-#endif
while (p && strcmp(p->file_name, file_name) != 0)
p = p->next;
if (p) {
@@ -195,10 +185,6 @@
p->inObjList = 0;
p->next = pdfDocuments;
pdfDocuments = p;
-#ifdef _WIN32
- if (file_name_is_changed == 1)
- xfree(file_name);
-#endif
return p;
}
More information about the tex-live-commits
mailing list