texlive[74538] Build/source/texk/web2c/synctexdir: synctex.c: improve
commits+kakuto at tug.org
commits+kakuto at tug.org
Sat Mar 8 22:35:21 CET 2025
Revision: 74538
https://tug.org/svn/texlive?view=revision&revision=74538
Author: kakuto
Date: 2025-03-08 22:35:20 +0100 (Sat, 08 Mar 2025)
Log Message:
-----------
synctex.c: improve printing of a synctex file name (windows only)
Modified Paths:
--------------
trunk/Build/source/texk/web2c/synctexdir/ChangeLog
trunk/Build/source/texk/web2c/synctexdir/synctex.c
Modified: trunk/Build/source/texk/web2c/synctexdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/synctexdir/ChangeLog 2025-03-08 21:15:51 UTC (rev 74537)
+++ trunk/Build/source/texk/web2c/synctexdir/ChangeLog 2025-03-08 21:35:20 UTC (rev 74538)
@@ -1,3 +1,8 @@
+2025-03-09 Akira Kakuto <kakuto at jcom.zaq.ne.jp>
+
+ * synctex.c: improve printing of a synctex file name
+ (windows only).
+
2025-03-07 Karl Berry <karl at tug.org>
* TL'25 release.
Modified: trunk/Build/source/texk/web2c/synctexdir/synctex.c
===================================================================
--- trunk/Build/source/texk/web2c/synctexdir/synctex.c 2025-03-08 21:15:51 UTC (rev 74537)
+++ trunk/Build/source/texk/web2c/synctexdir/synctex.c 2025-03-08 21:35:20 UTC (rev 74538)
@@ -968,10 +968,11 @@
if (SYNCTEX_interaction>0) {
#ifdef W32UPTEXSYNCTEX
{
- char *stmp = chgto_oem(tmp);
+ int savecp = GetConsoleOutputCP();
+ SetConsoleOutputCP(file_system_codepage);
printf((synctex_ctxt.flags.quoted ? "\nSyncTeX written on \"%s\"\n" : "\nSyncTeX written on %s.\n"),
- stmp);
- free(stmp);
+ tmp);
+ SetConsoleOutputCP(savecp);
}
#else
#ifndef SYNCTEX_PRE_NL
More information about the tex-live-commits
mailing list.