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

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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

Fix scripts/check-local-headers.sh


make check fails with a failure in check-local-headers, the failure
is:

cat /builds/glibc/10.0-nptl/check-local-headers.out
nptl/tst-cancel24.o.d:  ../sysdeps/generic/symbol-hacks.h /usr/include/c++/4.0.2/cstdlib \
nptl/tst-cancel24.o.d:  /usr/include/c++/4.0.2/x86_64-suse-linux/bits/c++config.h \
nptl/tst-cancel24.o.d:  /usr/include/c++/4.0.2/x86_64-suse-linux/bits/os_defines.h \
nptl/tst-cancel24.o.d:  ../include/gnu/stubs.h /usr/include/c++/4.0.2/cstddef \
nptl/tst-cancel24.o.d:  $(common-objpfx)bits/stdio_lim.h /usr/include/c++/4.0.2/cstdio \
nptl/tst-cancel24.o.d:/usr/include/c++/4.0.2/cstdlib:
nptl/tst-cancel24.o.d:/usr/include/c++/4.0.2/x86_64-suse-linux/bits/c++config.h:
nptl/tst-cancel24.o.d:/usr/include/c++/4.0.2/x86_64-suse-linux/bits/os_defines.h:
nptl/tst-cancel24.o.d:/usr/include/c++/4.0.2/cstddef:
nptl/tst-cancel24.o.d:/usr/include/c++/4.0.2/cstdio:

this is fixed with the appended patch.  Ok to commit?

Andreas

2006-01-03  Andreas Jaeger  <aj@suse.de>

	* scripts/check-local-headers.sh: Allow $includedir/c++.

============================================================
Index: scripts/check-local-headers.sh
--- scripts/check-local-headers.sh	24 Nov 2005 18:13:16 -0000	1.1
+++ scripts/check-local-headers.sh	3 Jan 2006 18:18:59 -0000
@@ -30,7 +30,8 @@ if fgrep "$includedir" */*.d |
 fgrep -v "$includedir/asm" |
 fgrep -v "$includedir/linux" |
 fgrep -v "$includedir/selinux" |
-fgrep -v "$includedir/gd"; then
+fgrep -v "$includedir/gd" |
+fgrep -v "$includedir/c++"; then
   # If we found a match something is wrong.
   exit 1
 fi
-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

Attachment: pgp00000.pgp
Description: PGP signature


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