Commit bad342ad authored by Mark Andrews's avatar Mark Andrews
Browse files

check for missing #include <isc/strerr.h>

parent 1ca59201
Pipeline #6787 passed with stages
in 13 minutes and 31 seconds
......@@ -25,6 +25,21 @@ list=`git grep -l snprintf lib bin |
echo "$list"
}
#
# Check for missing #include <isc/strerr.h>
#
list=`git grep -wl strerror_r lib bin |
grep '\.c$' |
grep -vE -e '(lib/bind|lib/dns/rdata|lib/dns/gen.c)' \
-e lib/isc/string.c \
-e '(lib/isc/win32/time.c|dlzexternal/driver.c)' |
xargs grep -EL "(isc/strerr.h)" 2> /dev/null`
[ -n "$list" ] && {
status=1
echo 'Missing #include <isc/strerr.h>:'
echo "$list"
}
#
# Check for missing #include <inttypes.h>"
#
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment