On Sun, Jan 26, 2020 at 11:41 AM luigi scarso <[email protected]>
wrote:

>
>
> On Thu, Jan 23, 2020 at 9:13 AM Henri Menke <[email protected]> wrote:
>
>> I just tested this patch and it seems to work.
>>
>> --- a/source/texk/web2c/luatexdir/tex/maincontrol.c
>> +++ b/source/texk/web2c/luatexdir/tex/maincontrol.c
>> @@ -3824,8 +3824,6 @@ void open_or_close_in(void)
>>          if (cur_cmd != left_brace_cmd) {
>>              /*tex Set |cur_name| to desired file name. */
>>              scan_file_name();
>> -            if (cur_ext == get_nullstr())
>> -                cur_ext = maketexstring(".tex");
>>          } else {
>>              scan_file_name_toks();
>>          }
>>
>
>
> yes, it looks consistent wit rev.7213.
> I want to make some checks before committing.
>
>
committed rev. 7280.
Now when  both test and test.tex are in the same folder,
luatex loads test.tex .
\input test

and

\input{test}

both work but

\newread\auxA
\openin\auxA=test
\read\auxA to\HOLDER\relax\show\HOLDER
\closein\auxA

and

\newread\auxA
\openin\auxA={test}
\read\auxA to\HOLDER\relax\show\HOLDER
\closein\auxA

\bye



-- 
luigi

Reply via email to