From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19587 invoked by alias); 6 May 2009 16:53:48 -0000 Received: (qmail 19578 invoked by uid 22791); 6 May 2009 16:53:47 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,HK_OBFDOM 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, 06 May 2009 16:53:13 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id A91352BACB1; Wed, 6 May 2009 12:53:11 -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 M8mMNfdlkxN4; Wed, 6 May 2009 12:53:11 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 4DC352BAC74; Wed, 6 May 2009 12:53:10 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 8A86AF5900; Wed, 6 May 2009 09:53:07 -0700 (PDT) Date: Wed, 06 May 2009 16:53:00 -0000 From: Joel Brobecker To: muller@ics.u-strasbg.fr Cc: gdb-patches@sourceware.org Subject: Re: [ARI] Add "bzero" (was: "Re: Build failure for x86_64-pc-mingw32 target") Message-ID: <20090506165307.GN10734@adacore.com> References: <200904301028.29435.pedro@codesourcery.com> <200905061038.11004.pedro@codesourcery.com> <20090506160250.GJ10734@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090506160250.GJ10734@adacore.com> User-Agent: Mutt/1.5.18 (2008-05-17) 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: 2009-05/txt/msg00122.txt.bz2 Pierre also informed me privately that he checked in the change below, after testing it with tonight's snapshot. > Index: gdb_ari.sh > =================================================================== > RCS file: /cvs/gdbadmin/ss/gdb_ari.sh,v > retrieving revision 1.89 > diff -u -p -r1.89 gdb_ari.sh > --- gdb_ari.sh 20 Apr 2009 15:55:23 -0000 1.89 > +++ gdb_ari.sh 6 May 2009 16:00:22 -0000 > @@ -1028,6 +1028,14 @@ Do not use xvasprintf(), instead use xst > > # More generic memory operations > > +BEGIN { doc["bzero"] = "\ > +Do not use bzero(), instead use memset()" > + category["bzero"] = ari_regression > +} > +/(^|[^_[:alnum:]])bzero[[:space:]]*\(/ { > + fail("bzero") > +} > + > BEGIN { doc["strdup"] = "\ > Do not use strdup(), instead use xstrdup()"; > category["strdup"] = ari_regression -- Joel