]> git.ipfire.org Git - thirdparty/bind9.git/commit
Improve error message when directory name is given
authorPetr Menšík <pemensik@redhat.com>
Mon, 29 Nov 2021 23:04:35 +0000 (00:04 +0100)
committerMatthijs Mekking <matthijs@isc.org>
Fri, 10 Dec 2021 09:50:21 +0000 (10:50 +0100)
commit929bbe192d92905bcafa8b818fac6e90f0a07c21
tree65c17947d87be6248d78b1152fcf205fe2762fe0
parenta181b556f05d5e7daf3a4edb7e7f2b95aa51216a
Improve error message when directory name is given

Surprising error IO error is returned when directory name
is given instead of named.conf file. It can be passed to named-checkconf
or include statement. Make a simple change to return Invalid file
instead. Still not precise, but much better error message is returned.

Fix of rhbz#490837.
lib/isc/errno2result.c
lib/isc/lex.c