diff options
author | Martin Ruckert <martin.ruckert@hm.edu> | 2023-11-27 15:41:21 +0000 |
---|---|---|
committer | Martin Ruckert <martin.ruckert@hm.edu> | 2023-11-27 15:41:21 +0000 |
commit | efc23d55ec92d47d6839593a6706ff93d4784f8f (patch) | |
tree | cffc15b877a7ed05f5462c0ad163a26c1139c6f4 /Build/source/texk | |
parent | a250406b41a8ba977c037f4b18fa9290f5b35f2f (diff) |
HINT: allow input files without extension for compatibility with other engines
git-svn-id: svn://tug.org/texlive/trunk@68980 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk')
-rw-r--r-- | Build/source/texk/web2c/hitexdir/hitex.w | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/hitexdir/hitex.w b/Build/source/texk/web2c/hitexdir/hitex.w index fdf33697b69..3cec4002183 100644 --- a/Build/source/texk/web2c/hitexdir/hitex.w +++ b/Build/source/texk/web2c/hitexdir/hitex.w @@ -10993,9 +10993,9 @@ of string pool space; but that can confuse the interactive `\.E' option. @p static void start_input(void) /*\TeX\ will \.{\\input} something*/ {@+ scan_file_name(); /*set |cur_name| to desired file name*/ -pack_cur_name(".tex"); +pack_cur_name(""); loop@+{@+begin_file_reading(); /*set up |cur_file| and new level of input*/ - if (a_open_in(&cur_file)) goto done; + if (kpse_in_name_ok((char*)name_of_file+1) && a_open_in(&cur_file)) goto done; end_file_reading(); /*remove the level that didn't work*/ prompt_file_name("input file name",".tex"); } |