From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13207 invoked by alias); 26 May 2010 08:07:36 -0000 Received: (qmail 13199 invoked by uid 22791); 26 May 2010 08:07:35 -0000 X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,MSGID_MULTIPLE_AT X-Spam-Check-By: sourceware.org Received: from mailhost.u-strasbg.fr (HELO mailhost.u-strasbg.fr) (130.79.200.157) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 26 May 2010 08:07:32 +0000 Received: from baal.u-strasbg.fr (baal.u-strasbg.fr [IPv6:2001:660:2402::41]) by mailhost.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id o4Q87LQ8016243 ; Wed, 26 May 2010 10:07:21 +0200 (CEST) (envelope-from pierre.muller@ics-cnrs.unistra.fr) Received: from mailserver.u-strasbg.fr (ms3.u-strasbg.fr [IPv6:2001:660:2402:d::12]) by baal.u-strasbg.fr (8.14.0/jtpda-5.5pre1) with ESMTP id o4Q87LRP046984 ; Wed, 26 May 2010 10:07:21 +0200 (CEST) (envelope-from pierre.muller@ics-cnrs.unistra.fr) Received: from d620muller (gw-ics.u-strasbg.fr [130.79.210.225]) (user=mullerp mech=LOGIN) by mailserver.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id o4Q87Ll9096619 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) ; Wed, 26 May 2010 10:07:21 +0200 (CEST) (envelope-from pierre.muller@ics-cnrs.unistra.fr) From: "Pierre Muller" To: "'Doug Evans'" , References: <20100526015451.GA24207@sourceware.org> In-Reply-To: Subject: RE: New ARI warning Wed May 26 01:54:51 UTC 2010 Date: Wed, 26 May 2010 09:06:00 -0000 Message-ID: <000901cafcaa$80ddf470$8299dd50$@muller@ics-cnrs.unistra.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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: 2010-05/txt/msg00592.txt.bz2 > -----Message d'origine----- > De=A0: gdb-patches-owner@sourceware.org [mailto:gdb-patches- > owner@sourceware.org] De la part de Doug Evans > Envoy=E9=A0: Wednesday, May 26, 2010 4:48 AM > =C0=A0: gdb-patches@sourceware.org > Objet=A0: Re: New ARI warning Wed May 26 01:54:51 UTC 2010 >=20 > On Tue, May 25, 2010 at 6:54 PM, GDB Administrator > wrote: > > 1084a1085 > >> gdb/python/py-cmd.c:192: gettext: _ markup: All messages should be > marked up with _. > > gdb/python/py-cmd.c:192: =A0 =A0 =A0 =A0error ("%s", msg); > > >=20 > There were already a couple of uses of error ("%s", ...) so I figured > it was safe. Of course, translation of "%s" into another language does make sense! =20 > OOC, is this why source.c has: >=20 > error (("%s"), msg); I suspect that the braces around "%s" are exactly here for that reason: they avoid getting this ARI report. Does anyone have another idea of the utility of such a wrapping? I could probably try to improve the ARI rule=20 so that it does not complain if the string is just "%s", but I would like to be sure that I am not missing some information here. Pierre Muller as ARI maintainer.