aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2016-05-30 19:03:01 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2016-05-30 19:03:01 +0200
commit94d211c87955d79fe6a74d7385bff014cfc95192 (patch)
tree6ef7ccf65f17f92f1882091260699a275b9c3ebd
parent3e040a2d5f59c5494910bd6451b3dcb69221a047 (diff)
downloadglibc-94d211c87955d79fe6a74d7385bff014cfc95192.tar
glibc-94d211c87955d79fe6a74d7385bff014cfc95192.tar.gz
glibc-94d211c87955d79fe6a74d7385bff014cfc95192.tar.bz2
glibc-94d211c87955d79fe6a74d7385bff014cfc95192.zip
Add more hurd exception to local headers list
* 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).
-rw-r--r--ChangeLog6
-rwxr-xr-xscripts/check-local-headers.sh2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a33eca3c77..9ed2ebd629 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 }
{