]> git.ipfire.org Git - thirdparty/bind9.git/commit
Include the function name when reporting unexpected errors
authorTony Finch <dot@dotat.at>
Fri, 14 Oct 2022 16:37:47 +0000 (17:37 +0100)
committerTony Finch <dot@dotat.at>
Mon, 17 Oct 2022 15:00:27 +0000 (16:00 +0100)
commit96b6bae5bcfb46c9f2773551cb037a4ccd9bb455
treeb868deb64784f088e799be69c37f6d8f003c5b9b
parent8dfc078ea333a11383f107b83bb26ece8b610f17
Include the function name when reporting unexpected errors

I.e. print the name of the function in BIND that called the system
function that returned an error. Since it was useful for pthreads
code, it seems worthwhile doing so everywhere.

(cherry picked from commit 26ed03a61e0cb6359a985784ffad93630cb2aeff)
bin/named/main.c
bin/tests/system/dyndb/driver/db.c
bin/tests/system/dyndb/driver/log.h
bin/tests/system/dyndb/driver/syncptr.c
lib/isc/error.c
lib/isc/include/isc/error.h
lib/isc/include/isc/util.h
lib/isc/mem.c