mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
check for missing #include <isc/strerr.h>
This commit is contained in:
@@ -25,6 +25,21 @@ list=`git grep -l snprintf lib bin |
|
|||||||
echo "$list"
|
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>"
|
# Check for missing #include <inttypes.h>"
|
||||||
#
|
#
|
||||||
|
Reference in New Issue
Block a user