]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
update the list of functions that are triggers for requiring #include <isc/print...
authorMark Andrews <marka@isc.org>
Thu, 15 Nov 2018 22:31:48 +0000 (09:31 +1100)
committerMark Andrews <marka@isc.org>
Fri, 16 Nov 2018 00:31:01 +0000 (11:31 +1100)
(cherry picked from commit 07317db2ca2b40eb92ff0950b62357bd120ff615)

util/checklibs.sh

index 8d080cad2448c2fdce098a61cdc959a42ba30303..c92874d41121d8abd70830a40352cf8e4b7d4ff1 100755 (executable)
@@ -14,7 +14,7 @@ status=0
 #
 # Check for missing #include <isc/print.h> or "print_p.h"
 #
-list=`git grep -l snprintf lib bin |
+list=`git grep -wl '\(printf\|snprintf\|sprintf\|vsnprintf\|fprintf\)' lib bin |
       grep '\.c$' |
       grep -vE -e '(lib/bind|lib/dns/rdata|lib/dns/gen.c)' \
               -e '(lib/isc/win32/time.c|dlzexternal/driver.c)' |