summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}