summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2022-03-09 22:26:19 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2022-03-09 22:26:19 +0000
commitb181f53c5e2c48b60815874f990a6f59f59fdd20 (patch)
tree1cc5cd8764c55295d066df084ec9c6c8f273ea4c /Build/source
parent98f1666e4be6ac269b56cf5bbb744faf6c5ff7e3 (diff)
hitex.w: fix a bug for w32
git-svn-id: svn://tug.org/texlive/trunk@62569 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r--Build/source/texk/web2c/hitexdir/hitex.w11
1 files changed, 6 insertions, 5 deletions
diff --git a/Build/source/texk/web2c/hitexdir/hitex.w b/Build/source/texk/web2c/hitexdir/hitex.w
index c284c31c3b2..049ee51c731 100644
--- a/Build/source/texk/web2c/hitexdir/hitex.w
+++ b/Build/source/texk/web2c/hitexdir/hitex.w
@@ -34320,15 +34320,16 @@ Therefore we record {\tt texmf.cnf} with the following code:
@<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);
+ }
}