texlive[60035] Build/source/texk/web2c/synctexdir: web2c/synctexdir:
commits+takuji at tug.org
commits+takuji at tug.org
Sat Jul 24 15:25:06 CEST 2021
Revision: 60035
http://tug.org/svn/texlive?view=revision&revision=60035
Author: takuji
Date: 2021-07-24 15:25:06 +0200 (Sat, 24 Jul 2021)
Log Message:
-----------
web2c/synctexdir: apply patch of W32TeX (Windows only)
Modified Paths:
--------------
trunk/Build/source/texk/web2c/synctexdir/ChangeLog
trunk/Build/source/texk/web2c/synctexdir/synctex_main.c
Modified: trunk/Build/source/texk/web2c/synctexdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/synctexdir/ChangeLog 2021-07-24 13:13:33 UTC (rev 60034)
+++ trunk/Build/source/texk/web2c/synctexdir/ChangeLog 2021-07-24 13:25:06 UTC (rev 60035)
@@ -1,7 +1,9 @@
2021-07-24 TANAKA Takuji <ttk at 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 at tug.org>
Modified: trunk/Build/source/texk/web2c/synctexdir/synctex_main.c
===================================================================
--- trunk/Build/source/texk/web2c/synctexdir/synctex_main.c 2021-07-24 13:13:33 UTC (rev 60034)
+++ trunk/Build/source/texk/web2c/synctexdir/synctex_main.c 2021-07-24 13:25:06 UTC (rev 60035)
@@ -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 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])) {
More information about the tex-live-commits
mailing list.