From a369b659ebcd3cecff2863d21d3417bddf869b4b Mon Sep 17 00:00:00 2001 From: Akira Kakuto Date: Tue, 2 Oct 2018 14:33:09 +0000 Subject: remove changes for w32 git-svn-id: svn://tug.org/texlive/trunk@48811 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/pdftexdir/ChangeLog | 4 ++++ Build/source/texk/web2c/pdftexdir/pdftoepdf.cc | 14 -------------- 2 files changed, 4 insertions(+), 14 deletions(-) (limited to 'Build/source') diff --git a/Build/source/texk/web2c/pdftexdir/ChangeLog b/Build/source/texk/web2c/pdftexdir/ChangeLog index e6ad4421fbd..d87d36f0370 100644 --- a/Build/source/texk/web2c/pdftexdir/ChangeLog +++ b/Build/source/texk/web2c/pdftexdir/ChangeLog @@ -1,3 +1,7 @@ +2018-10-02 Akira Kakuto + + * pdftoepdf.cc: Remove changes for w32. + 2018-09-23 Akira Kakuto * pdftosrc-newpoppler.cc: Add a comment that it works upto diff --git a/Build/source/texk/web2c/pdftexdir/pdftoepdf.cc b/Build/source/texk/web2c/pdftexdir/pdftoepdf.cc index 7443e0249ae..4db0c90a639 100644 --- a/Build/source/texk/web2c/pdftexdir/pdftoepdf.cc +++ b/Build/source/texk/web2c/pdftexdir/pdftoepdf.cc @@ -166,16 +166,6 @@ static XRef *xref = 0; 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 @@ static PdfDocument *find_add_document(char *file_name) p->inObjList = 0; p->next = pdfDocuments; pdfDocuments = p; -#ifdef _WIN32 - if (file_name_is_changed == 1) - xfree(file_name); -#endif return p; } -- cgit v1.2.3