mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
check-local-headers: ignore Mach kernel headers
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
|
||||||
|
|
||||||
|
* scripts/check-local-headers.sh: Ignore 'mach' headers.
|
||||||
|
|
||||||
2012-11-16 Andrej Lajovic <natrij@gmail.com>
|
2012-11-16 Andrej Lajovic <natrij@gmail.com>
|
||||||
|
|
||||||
[BZ #14672]
|
[BZ #14672]
|
||||||
|
@ -27,12 +27,13 @@ shopt -s nullglob
|
|||||||
|
|
||||||
# Search all dependency files for file names in the include directory.
|
# Search all dependency files for file names in the include directory.
|
||||||
# There are a few system headers we are known to use.
|
# There are a few system headers we are known to use.
|
||||||
# These include Linux kernel headers (asm*, arch, and linux).
|
# These include Linux kernel headers (asm*, arch, and linux),
|
||||||
|
# and Mach kernel headers (mach).
|
||||||
exec ${AWK} -v includedir="$includedir" '
|
exec ${AWK} -v includedir="$includedir" '
|
||||||
BEGIN {
|
BEGIN {
|
||||||
status = 0
|
status = 0
|
||||||
exclude = "^" includedir \
|
exclude = "^" includedir \
|
||||||
"/(.*-.*-.*/|)(asm[-/]|arch|linux/|selinux/|gd|nss3/|c\\+\\+/|sys/(capability|sdt(|-config))\\.h|libaudit\\.h)"
|
"/(.*-.*-.*/|)(asm[-/]|arch|linux/|selinux/|mach/|gd|nss3/|c\\+\\+/|sys/(capability|sdt(|-config))\\.h|libaudit\\.h)"
|
||||||
}
|
}
|
||||||
/^[^ ]/ && $1 ~ /.*:/ { obj = $1 }
|
/^[^ ]/ && $1 ~ /.*:/ { obj = $1 }
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user