diff options
Diffstat (limited to 'Build/source')
-rw-r--r-- | Build/source/texk/web2c/synctexdir/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/web2c/synctexdir/synctex_main.c | 5 |
2 files changed, 8 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/synctexdir/ChangeLog b/Build/source/texk/web2c/synctexdir/ChangeLog index c814bf50726..b9c8399cecd 100644 --- a/Build/source/texk/web2c/synctexdir/ChangeLog +++ b/Build/source/texk/web2c/synctexdir/ChangeLog @@ -1,7 +1,9 @@ 2021-07-24 TANAKA Takuji <ttk@t-lab.opal.ne.jp> - * synctex-main.c (synctex_test_file): + * synctex_main.c (synctex_test_file): Output not "compress mode" but "io mode". + * synctex_main.c: + Apply patch of W32TeX by Kakuto-san. (Windows only). 2021-03-23 Karl Berry <karl@tug.org> diff --git a/Build/source/texk/web2c/synctexdir/synctex_main.c b/Build/source/texk/web2c/synctexdir/synctex_main.c index 5e2579e2652..fbf0e141f01 100644 --- a/Build/source/texk/web2c/synctexdir/synctex_main.c +++ b/Build/source/texk/web2c/synctexdir/synctex_main.c @@ -97,9 +97,11 @@ inline static double my_fmax(double x, double y) { return (x < y) ? y : x; } #endif +/* I use the definition in kpathsea --ak #ifdef WIN32 # define snprintf _snprintf #endif +*/ #if SYNCTEX_DEBUG # ifdef WIN32 @@ -125,6 +127,9 @@ int synctex_test(int argc, char *argv[]); int main(int argc, char *argv[]) { int arg_index = 1; +#ifdef WIN32 + kpse_set_program_name(argv[0], "synctex"); +#endif printf("This is SyncTeX command line utility, version " SYNCTEX_CLI_VERSION_STRING "\n"); if(arg_index<argc) { if(0==strcmp("help",argv[arg_index])) { |