summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorTakuji Tanaka <ttk@t-lab.opal.ne.jp>2021-07-24 13:13:33 +0000
committerTakuji Tanaka <ttk@t-lab.opal.ne.jp>2021-07-24 13:13:33 +0000
commite2668a01c1e631e81057cba960c941c394e9cd7e (patch)
treefcf89b4c08a2e8e56a1977a7e45ac949a51bb836 /Build
parent782d9add17d6ce86bf6ec5f1d920ab8b451a246b (diff)
synctex_main: Output not "compress mode" but "io mode"
git-svn-id: svn://tug.org/texlive/trunk@60034 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/web2c/synctexdir/ChangeLog5
-rw-r--r--Build/source/texk/web2c/synctexdir/synctex_main.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/Build/source/texk/web2c/synctexdir/ChangeLog b/Build/source/texk/web2c/synctexdir/ChangeLog
index 1b6b98405b9..c814bf50726 100644
--- a/Build/source/texk/web2c/synctexdir/ChangeLog
+++ b/Build/source/texk/web2c/synctexdir/ChangeLog
@@ -1,3 +1,8 @@
+2021-07-24 TANAKA Takuji <ttk@t-lab.opal.ne.jp>
+
+ * synctex-main.c (synctex_test_file):
+ Output not "compress mode" but "io mode".
+
2021-03-23 Karl Berry <karl@tug.org>
* TL'21.
diff --git a/Build/source/texk/web2c/synctexdir/synctex_main.c b/Build/source/texk/web2c/synctexdir/synctex_main.c
index ea676eacc1a..5e2579e2652 100644
--- a/Build/source/texk/web2c/synctexdir/synctex_main.c
+++ b/Build/source/texk/web2c/synctexdir/synctex_main.c
@@ -896,7 +896,7 @@ int synctex_test_file (int argc, char *argv[])
char * output = NULL;
char * directory = NULL;
char * synctex_name = NULL;
- synctex_compress_mode_t mode = synctex_compress_mode_none;
+ synctex_io_mode_t mode = 0;
if(arg_index>=argc) {
_synctex_error("! usage: synctex test file -o output [-d directory]\n");
return -1;
@@ -924,11 +924,11 @@ int synctex_test_file (int argc, char *argv[])
printf("output:%s\n"
"directory:%s\n"
"file name:%s\n"
- "compression mode:%s\n",
+ "io mode:%s\n",
output,
directory,
synctex_name,
- (mode?"gz":"none"));
+ _synctex_get_io_mode_name(mode));
}
return 0;
}