diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2019-08-07 02:13:07 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2019-08-07 02:13:07 +0000 |
commit | 734522eb0deed94cbb5d8a0f6cc31e1818368bb0 (patch) | |
tree | 72e86e0d0317e486e5af568088b05fe3f50e82ca /Build/source/texk/web2c/synctexdir | |
parent | 7db43c4f6b398f1dd8a2d9fc43a647283a35a247 (diff) |
Improve support of non-ascii path names (Windows only).
git-svn-id: svn://tug.org/texlive/trunk@51833 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/synctexdir')
-rw-r--r-- | Build/source/texk/web2c/synctexdir/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/web2c/synctexdir/synctex.c | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/synctexdir/ChangeLog b/Build/source/texk/web2c/synctexdir/ChangeLog index a49d19d71c1..c33ca0d9f47 100644 --- a/Build/source/texk/web2c/synctexdir/ChangeLog +++ b/Build/source/texk/web2c/synctexdir/ChangeLog @@ -1,3 +1,8 @@ +2019-08-07 Akira Kakuto <kakuto@w32tex.org> + + * synctex.c: Improve support of non-ascii path names + (Windows only). + 2018-10-25 Akira Kakuto <kakuto@fuk.kindai.ac.jp> * synctex.c: Cleanup for non-ascii file names (w32 only). diff --git a/Build/source/texk/web2c/synctexdir/synctex.c b/Build/source/texk/web2c/synctexdir/synctex.c index 598c2b30456..ae1334d61e2 100644 --- a/Build/source/texk/web2c/synctexdir/synctex.c +++ b/Build/source/texk/web2c/synctexdir/synctex.c @@ -293,7 +293,7 @@ mem[NODE+TYPE##_node_size-synchronization_field_size+1].cint # endif #if defined(_WIN32) -#if defined(pdfTeX) || defined(upTeX) || defined(eupTeX) || defined(XeTeX) +#if defined(pdfTeX) || defined(upTeX) || defined(eupTeX) || defined(XeTeX) || defined(LuaTeX) || defined(LuajitTeX) #define W32UPTEXSYNCTEX 1 #include <wchar.h> static char *chgto_oem(char *src); @@ -591,7 +591,8 @@ static int fsyscp_rename(char *s1, char *s2) } #undef fopen -#define fopen fsyscp_fopen +extern FILE *f_fsyscp_fopen(const char *filename, const char *mode); +#define fopen f_fsyscp_fopen #define gzopen fsyscp_gzopen #define rename fsyscp_rename #define remove fsyscp_remove |