From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-3.8 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 2BD2220248 for ; Thu, 7 Mar 2019 17:17:42 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-type; q=dns; s=default; b=VpQC hs78DZSkgWfye2p+tS3Un7fOWfT7Z1d8s2OoNj2MpGx6gaYy84nc6xsZP1PewqgS zo3JkPMrh77JoLBV3TZONq4PPM+7x6XcssKtAstmvXdIq80OUMcmjjpGJQNaL1bq sSL4Y1VSH2EGSk5WdcD8SOVqtIxd9tYS4W/l5h8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-type; s=default; bh=XtOw7g4jH8 njdLcPTTUn7zh0vpo=; b=DUN9kTjVVfkeBRvVzq4tU5kKOQCpmMSJhHXPabITjB HnxmxT8MgN3++EOl/3Z9rcbBDnBa+E7zC6KI5CH2wX2z44gM0F0K5kAsic4ocCwh nwRov6/q54qu5U4iWOjSbYkkIZ/baCHytrhc5jqI+jDo8Z4RJ/VyPJfqk5V4+iw6 U= Received: (qmail 95127 invoked by alias); 7 Mar 2019 17:17:39 -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 Received: (qmail 95116 invoked by uid 89); 7 Mar 2019 17:17:39 -0000 Authentication-Results: sourceware.org; auth=none X-HELO: mailbackend.panix.com MIME-Version: 1.0 References: <20190307163306.B3E8F81D9FFB@oldenburg2.str.redhat.com> In-Reply-To: <20190307163306.B3E8F81D9FFB@oldenburg2.str.redhat.com> From: Zack Weinberg Date: Thu, 7 Mar 2019 12:17:24 -0500 Message-ID: Subject: Re: [PATCH COMMITTED] check-wrapper-headers test: Adjust Fortran include file directory To: Florian Weimer Cc: GNU C Library Content-Type: text/plain; charset="UTF-8" On Thu, Mar 7, 2019 at 11:33 AM Florian Weimer wrote: > > The check for "/finclude/" fails with the actual location of > Fortran headers because they are now stored in the "finclude" > subdirectory of the top-level include directory, so a relative path > does not contain a slash '/' before the "finclude" string. For future-proofing, the script should do both checks: if header.startswith("finclude/") or "/finclude/" in header: (I'm working on a patch series which, among other things, removes all of the installed headers from the top-level include directory.) zw