From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26128 invoked by alias); 23 Mar 2009 22:52:33 -0000 Received: (qmail 26117 invoked by uid 22791); 23 Mar 2009 22:52:31 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,HK_OBFDOM X-Spam-Check-By: sourceware.org Received: from mailhost.u-strasbg.fr (HELO mailhost.u-strasbg.fr) (130.79.200.156) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 23 Mar 2009 22:52:25 +0000 Received: from baal.u-strasbg.fr (baal.u-strasbg.fr [IPv6:2001:660:2402::41]) by mailhost.u-strasbg.fr (8.14.2/jtpda-5.5pre1) with ESMTP id n2NMqL58086328 for ; Mon, 23 Mar 2009 23:52:21 +0100 (CET) Received: from mailserver.u-strasbg.fr (ms1.u-strasbg.fr [IPv6:2001:660:2402:d::10]) by baal.u-strasbg.fr (8.14.0/jtpda-5.5pre1) with ESMTP id n2NMqL1N080065 for ; Mon, 23 Mar 2009 23:52:21 +0100 (CET) (envelope-from muller@ics.u-strasbg.fr) Received: from d620muller (lec67-4-82-230-53-140.fbx.proxad.net [82.230.53.140]) (user=mullerp mech=LOGIN) by mailserver.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id n2NMqKp5091438 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Mon, 23 Mar 2009 23:52:21 +0100 (CET) (envelope-from muller@ics.u-strasbg.fr) From: "Pierre Muller" To: Subject: [RFA] AR Index: Add exceptions for gnulib/string.in.h Date: Mon, 23 Mar 2009 23:14:00 -0000 Message-ID: <000701c9ac0a$0ad213c0$20763b40$@u-strasbg.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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-03/txt/msg00509.txt.bz2 2 strdup and 2 strerror failures listed in AR Index are due to code in gnulib/string.in.h header. This code inserts a linking time warning so I suppose that it can be added to the list of occurrences that can be ignored. Commit log: * Add exceptions for gnulib/string.in.h for 2 strdup and 2 strerror occurrences. Is this OK? Pierre Muller Pascal language support maintainer for GDB Index: gdb_ari.sh =================================================================== RCS file: /cvs/gdbadmin/ss/gdb_ari.sh,v retrieving revision 1.80 diff -u -p -r1.80 gdb_ari.sh --- gdb_ari.sh 23 Mar 2009 14:38:19 -0000 1.80 +++ gdb_ari.sh 23 Mar 2009 22:46:00 -0000 @@ -498,6 +498,7 @@ Do not use &&, or || at the end of a lin BEGIN { doc["strerror"] = "\ Do not use strerror(), instead use safe_strerror()" category["strerror"] = ari_regression + fix("strerror", "gdb/gnulib/string.in.h", 2) fix("strerror", "gdb/gdb_string.h", 1) fix("strerror", "gdb/mingw-hdep.c", 1) fix("strerror", "gdb/posix-hdep.c", 1) @@ -1336,6 +1337,7 @@ Do not use strdup(), instead use xstrdup category["strdup"] = ari_regression } /(^|[^_[:alnum:]])strdup[[:space:]]*\(/ { + fix("strdup", "gdb/gnulib/string.in.h", 2) fail("strdup") }