summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
authorAndreas Scherer <andreas_tex@freenet.de>2023-06-20 21:23:41 +0000
committerAndreas Scherer <andreas_tex@freenet.de>2023-06-20 21:23:41 +0000
commita2759b5cfe3ea571f66fe81ddd8644ce62fa12fc (patch)
tree12bc6f03b203011faaac3f08551303555856fcdc /Build/source
parentd203a7fabdc1cb2f0c529d90c4b87a1e0593f16b (diff)
[CWEB] Clean up.
git-svn-id: svn://tug.org/texlive/trunk@67420 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r--Build/source/texk/web2c/cwebdir/ctwill-w2c.ch6
1 files changed, 3 insertions, 3 deletions
diff --git a/Build/source/texk/web2c/cwebdir/ctwill-w2c.ch b/Build/source/texk/web2c/cwebdir/ctwill-w2c.ch
index 9df19c7b0a9..a7b8c8bb04d 100644
--- a/Build/source/texk/web2c/cwebdir/ctwill-w2c.ch
+++ b/Build/source/texk/web2c/cwebdir/ctwill-w2c.ch
@@ -1789,7 +1789,7 @@ strcat(aux_file_name,".bux");
include_depth=1; /* we simulate \.{@@i} */
strcpy(cur_file_name,aux_file_name); /* first in, third out */
if ( (found_filename = kpse_find_cweb(cur_file_name)) @|
- && ((cur_file=fopen(found_filename,"r"))) ) {
+ && (cur_file=fopen(found_filename,"r")) ) {
@<Set up |cur_file_name| for opened |cur_file|@>@;
cur_line=0; include_depth++;
}
@@ -1798,7 +1798,7 @@ strcpy(cur_file_name,aux_file_name); /* second in, second out */
if ((cur_file=fopen(cur_file_name,"r"))) { cur_line=0; include_depth++; }
strcpy(cur_file_name,"system.bux"); /* third in, first out */
if ( (found_filename = kpse_find_cweb(cur_file_name)) @|
- && ((cur_file=fopen(found_filename,"r"))) ) {
+ && (cur_file=fopen(found_filename,"r")) ) {
@<Set up |cur_file_name| for opened |cur_file|@>@;
cur_line=0;
}
@@ -2078,8 +2078,8 @@ if (strlen(found_filename) < max_file_name_length) {
if (strcmp(cur_file_name,found_filename)) {
strcpy(cur_file_name,found_filename + @|
((strncmp(found_filename,"./",2)==0) ? 2 : 0)); /* Strip path prefix */
- free(found_filename);
}
+ free(found_filename);
}@+else fatal(_("! Filename too long\n"), found_filename);
@** Index.