From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13409 invoked by alias); 14 Mar 2012 21:12:15 -0000 Received: (qmail 13389 invoked by uid 22791); 14 Mar 2012 21:12:13 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 14 Mar 2012 21:12:01 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 5FDAA1C6756; Wed, 14 Mar 2012 17:12:00 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id vaXWlLLjfnuE; Wed, 14 Mar 2012 17:12:00 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 2373C1C6753; Wed, 14 Mar 2012 17:12:00 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 7379F145615; Wed, 14 Mar 2012 14:11:51 -0700 (PDT) Date: Wed, 14 Mar 2012 21:12:00 -0000 From: Joel Brobecker To: Jan Kratochvil , muller@sourceware.org Cc: gdb-patches@sourceware.org Subject: Re: [ARI patch] Fix gawk-4.0 warning Message-ID: <20120314211151.GK2853@adacore.com> References: <20120314201501.GA1412@host2.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120314201501.GA1412@host2.jankratochvil.net> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-03/txt/msg00517.txt.bz2 > unaware who maintains ARI: Pierre Muller has been the most active contributor in that area. I see him as the de-facto maintainer, or rather "authorized committer". These files are not part of the GDB repository, so could be maintained a little differently, or we could say they fall under the GMs umbrella, or ask Pierre if he wants to be the maintainer.... > > For http://sourceware.org/gdb/current/ari/gdb_ari.sh > with gawk-4.0.0-4.fc17.x86_64 getting: > awk: cmd. line:135: warning: regexp component `[:digit:]' should probably be `[[:digit:]]' > > Untested. > > > Thanks, > Jan > > > * gdb_ari.sh (GNU/Linux): Fix '[:digit:]' compatibility with gawk-4.0. > > --- /home/jkratoch/t/gdb_ari.sh-orig 2012-03-14 20:15:48.804209849 +0100 > +++ /home/jkratoch/t/gdb_ari.sh 2012-03-14 20:57:07.255866311 +0100 > @@ -242,7 +242,7 @@ Do not use `Linux'\'', instead use `Linu > && !/(^|[^_[:alnum:]])Linux\[sic\]([^_[:alnum:]]|$)/ \ > && !/(^|[^_[:alnum:]])GNU\/Linux([^_[:alnum:]]|$)/ \ > && !/(^|[^_[:alnum:]])Linux kernel([^_[:alnum:]]|$)/ \ > -&& !/(^|[^_[:alnum:]])Linux [:digit:]\.[:digit:]+)/ { > +&& !/(^|[^_[:alnum:]])Linux [[:digit:]]\.[[:digit:]]+)/ { > fail("GNU/Linux") > } > -- Joel