texlive[68980] Build/source/texk/web2c/hitexdir/hitex.w: HINT: allow

commits+mruckert at tug.org commits+mruckert at tug.org
Mon Nov 27 16:41:22 CET 2023


Revision: 68980
          https://tug.org/svn/texlive?view=revision&revision=68980
Author:   mruckert
Date:     2023-11-27 16:41:21 +0100 (Mon, 27 Nov 2023)
Log Message:
-----------
HINT: allow input files without extension for compatibility with other engines

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	2023-11-27 11:16:42 UTC (rev 68979)
+++ trunk/Build/source/texk/web2c/hitexdir/hitex.w	2023-11-27 15:41:21 UTC (rev 68980)
@@ -10993,9 +10993,9 @@
 @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 at +{@+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");
   }



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