diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2018-10-02 14:33:09 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2018-10-02 14:33:09 +0000 |
commit | a369b659ebcd3cecff2863d21d3417bddf869b4b (patch) | |
tree | 2e331d61632b0dce3ded5e20e1ae1e036135b17e /Build/source/texk/web2c/pdftexdir | |
parent | cb124c30e623622efe740e59090367d4d81950d6 (diff) |
remove changes for w32
git-svn-id: svn://tug.org/texlive/trunk@48811 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/pdftexdir')
-rw-r--r-- | Build/source/texk/web2c/pdftexdir/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/web2c/pdftexdir/pdftoepdf.cc | 14 |
2 files changed, 4 insertions, 14 deletions
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 <kakuto@fuk.kindai.ac.jp> + + * pdftoepdf.cc: Remove changes for w32. + 2018-09-23 Akira Kakuto <kakuto@fuk.kindai.ac.jp> * 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; } |