bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

file/directory named Config in current dir causes waring from texi2any


From: Jun T
Subject: file/directory named Config in current dir causes waring from texi2any
Date: Thu, 15 Jun 2023 13:38:48 +0900

# Tested on Ubuntu22.04
# texinfo-7.0.3,  configured with --prefix=$HOME/test

texi2any gives an warning if there s a file or directory named
'Config' in the current directory. I think the current directory
should not be included in the default search path.

This is OK:

$ ls Config
ls: cannot access 'Config': No such file or directory
$ texi2any --version
texi2any (GNU texinfo) 7.0.3

But if there is a file Config in the current directory:

$ touch Config
$ texi2any --version
texi2any: warning: error loading ./Config: ./Config did not return a true value 
at /home/takimoto/test/share/texinfo/Texinfo/Config.pm line 130.

Or a directory Config:

$ rm Config; mkdir Config
$ texi2any --version        
texi2any: warning: error loading ./Config: Can't locate ./Config at 
/home/takimoto/test/share/texinfo/Texinfo/Config.pm line 130.

--
Jun (Jun-ichi Takimoto)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]