texlive[62569] Build/source/texk/web2c/hitexdir/hitex.w: hitex.w: fix

commits+kakuto at tug.org commits+kakuto at tug.org
Wed Mar 9 23:26:20 CET 2022


Revision: 62569
          http://tug.org/svn/texlive?view=revision&revision=62569
Author:   kakuto
Date:     2022-03-09 23:26:19 +0100 (Wed, 09 Mar 2022)
Log Message:
-----------
hitex.w: fix a bug for w32

Modified Paths:
--------------
    trunk/Build/source/texk/web2c/hitexdir/hitex.w

Modified: trunk/Build/source/texk/web2c/hitexdir/hitex.w
===================================================================
--- trunk/Build/source/texk/web2c/hitexdir/hitex.w	2022-03-09 22:10:10 UTC (rev 62568)
+++ trunk/Build/source/texk/web2c/hitexdir/hitex.w	2022-03-09 22:26:19 UTC (rev 62569)
@@ -34320,15 +34320,16 @@
 
 @<record {\tt texmf.cnf}@>=
 if (recorder_enabled) {
-  char *p = kpse_find_file_generic ("texmf.cnf", kpse_cnf_format, 0, 1);
+  string *p = kpse_find_file_generic ("texmf.cnf", kpse_cnf_format, 0, 1);
   if (p && *p) {
-    char *pp = p;
+    string *pp = p;
     while (*p) {
-    recorder_record_input (*p);
-    free (*p);
-    p++;
+      recorder_record_input (*p);
+      free (*p);
+      p++;
     }
   free (pp);
+  }
 }
 
 



More information about the tex-live-commits mailing list.