diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rwxr-xr-x | scripts/check-local-headers.sh | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org> + + * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and + include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to + i386-linux-gnu). + 2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org> [BZ #20178] diff --git a/scripts/check-local-headers.sh b/scripts/check-local-headers.sh index 0670da16bc..4cae4db572 100755 --- a/scripts/check-local-headers.sh +++ b/scripts/check-local-headers.sh @@ -33,7 +33,7 @@ exec ${AWK} -v includedir="$includedir" ' BEGIN { status = 0 exclude = "^" includedir \ - "/(.*-.*-.*/|)(asm[-/]|arch|linux/|selinux/|mach/|device/|hurd/(((hurd|ioctl)_types|paths)\\.h|ioctls\\.defs)|cthreads\\.h|gd|nss3/|c\\+\\+/|sys/(capability|sdt(|-config))\\.h|libaudit\\.h)" + "/(.*-.*-.*/|.*-.*/|)(asm[-/]|arch|linux/|selinux/|mach/|device/|hurd/(((hurd|ioctl)_types|paths)\\.h|ioctls\\.defs|ihash\\.h)|cthreads\\.h|gd|nss3/|c\\+\\+/|sys/(capability|sdt(|-config))\\.h|libaudit\\.h)" } /^[^ ]/ && $1 ~ /.*:/ { obj = $1 } { |