From patchwork Mon May 30 18:10:55 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guido Trentalancia X-Patchwork-Id: 12630 Received: (qmail 28054 invoked by alias); 30 May 2016 18:11:17 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 28039 invoked by uid 89); 30 May 2016 18:11:16 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.6 required=5.0 tests=AWL, BAYES_50, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=sdt, includedir, selinux, Trentalancia X-HELO: authsmtp.register.it X-Rid: guido@trentalancia.net@151.76.58.157 Message-ID: <1464631855.24965.1.camel@trentalancia.net> Subject: [PATCH v2] Ignore nspr headers directory when checking local headers From: Guido Trentalancia To: libc-alpha@sourceware.org Date: Mon, 30 May 2016 20:10:55 +0200 In-Reply-To: <1464608171.16411.3.camel@trentalancia.net> References: <1464608171.16411.3.camel@trentalancia.net> Mime-Version: 1.0 When checking the local headers, ignore not only the nss3 headers directory but also the nspr headers directory (both are needed when building glibc with the --enable-nss-crypt option). Failure to ignore the nspr headers directory would produce a false positive (FAIL) of the check-local-headers test during make check because some nss3 headers use nspr headers. Signed-off-by: Guido Trentalancia --- scripts/check-local-headers.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- glibc-orig/scripts/check-local-headers.sh 2016-05-30 20:00:01.565571016 +0200 +++ glibc/scripts/check-local-headers.sh 2016-05-30 20:00:22.049496606 +0200 @@ -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|ihash\\.h)|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/|nspr/|c\\+\\+/|sys/(capability|sdt(|-config))\\.h|libaudit\\.h)" } /^[^ ]/ && $1 ~ /.*:/ { obj = $1 } {