This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH,FYI] Accept installed systemtap headers in check-local-headers
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: libc-alpha at sources dot redhat dot com
- Date: Tue, 02 Oct 2012 23:37:38 -0300
- Subject: [PATCH,FYI] Accept installed systemtap headers in check-local-headers
Ever since I installed systemtap-sdt-devel, the check-local-headers
failed, because we include sys/sdt{,-config}.h headers for the existing
probes.
This patch fixes this testsuite failure, adding these two headers to the
exclude list.
I'm checking it in.
Accept installed systemtap headers in check-local-headers
From: Alexandre Oliva <aoliva@redhat.com>
for ChangeLog
* scripts/check-local-headers.sh: Exclude sys/sdt.h and
sys/sdt-config.h.
---
scripts/check-local-headers.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/scripts/check-local-headers.sh b/scripts/check-local-headers.sh
index cacb842..7fafcbf 100755
--- a/scripts/check-local-headers.sh
+++ b/scripts/check-local-headers.sh
@@ -31,7 +31,7 @@ exec ${AWK} -v includedir="$includedir" '
BEGIN {
status = 0
exclude = "^" includedir \
- "/(.*-.*-.*/|)(asm[-/]|linux/|selinux/|gd|nss3/|sys/capability\\.h|libaudit\\.h)"
+ "/(.*-.*-.*/|)(asm[-/]|linux/|selinux/|gd|nss3/|sys/(capability|sdt(|-config))\\.h|libaudit\\.h)"
}
/^[^ ]/ && $1 ~ /.*:/ { obj = $1 }
{
--
Alexandre Oliva, freedom fighter http://FSFLA.org/~lxoliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/ FSF Latin America board member
Free Software Evangelist Red Hat Brazil Compiler Engineer