From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16922 invoked by alias); 13 Jan 2015 10:48:03 -0000 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 Received: (qmail 16854 invoked by uid 89); 13 Jan 2015 10:48:01 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Tue, 13 Jan 2015 10:48:00 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 0C415116423 for ; Tue, 13 Jan 2015 05:47:59 -0500 (EST) 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 NccTl-lrst+0 for ; Tue, 13 Jan 2015 05:47:58 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 8F837116421 for ; Tue, 13 Jan 2015 05:47:58 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id 09A5248E8B; Tue, 13 Jan 2015 14:47:54 +0400 (RET) From: Joel Brobecker To: gdb-patches@sourceware.org Subject: Re: New ARI warning Sat Jan 10 01:54:00 UTC 2015 Date: Tue, 13 Jan 2015 10:48:00 -0000 Message-Id: <1421146072-24296-1-git-send-email-brobecker@adacore.com> In-Reply-To: <20150110015400.GA7237@sourceware.org> References: <20150110015400.GA7237@sourceware.org> X-SW-Source: 2015-01/txt/msg00329.txt.bz2 This set of patches fixes 2 of the new ARI violations reported by last Saturday's report. The other 2 should also be fixed, IMO (use safe_strerror instead of strerror, because strerror may return NULL for unknown errno), but is requires us to move safe_strerror to the common area, knowning that there is one POSIX implementation and a Windows one. So a little bit more work, left for another day. The two patches were tested on x86_64-linux, and then pushed. [PATCH 1/2] [ARI] Remove trailing new-line in argument of call to [PATCH 2/2] [ARI] Remove trailing new-line in argument of call to Thank you, -- Joel