This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]