From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 75415 invoked by alias); 3 Jun 2016 09:37:28 -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 75402 invoked by uid 89); 3 Jun 2016 09:37:27 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=D*nl, Schouten, U*ed, D*nuxi.nl X-HELO: mail-yw0-f174.google.com Received: from mail-yw0-f174.google.com (HELO mail-yw0-f174.google.com) (209.85.161.174) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 03 Jun 2016 09:37:11 +0000 Received: by mail-yw0-f174.google.com with SMTP id x189so75172647ywe.3 for ; Fri, 03 Jun 2016 02:37:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=6W64NTqVbNG5KHokGtfiTPCRzSW9J/7b/QUdeuqmgC4=; b=DG2vBsT+/3B5HEgLWtBeSTfml5Si8c/E+9PK/1DiHUaITYTPeBdXEs2R4sJaRDI7XK LJScq3AGjHwTom0bParvWwTkgkbiQHcfwApej5YAqw/ofSrhtOe7HGEZL71gBR3IQm09 nWGBltHHCiGoZKv3oA9Q3vGzFcd91Ga5mpWN399bsbK/hNUKVBIO//gPOCOJgDySN7fJ z1eQj1qDq4OstazfLvlQ4EsxsYzTnpvfi3wFRMxpxHd6Y3Glk+pprMMio722FgST1XTg z0Z+ybI4E+JlOjQigxxxM3DSTyTXMOfON1dGumFFBVEf+wycIkB8Y+/B32bIFVKBwbj5 ZlJg== X-Gm-Message-State: ALyK8tLu+9gJn6aOgj0nHvRvGYRMOf7DsJcnoeFXmzrAho3il7N/FqI2SYeO/Kul3AU/Dmbw0L0ByDcZFS3lIw== X-Received: by 10.37.217.14 with SMTP id q14mr1631781ybg.53.1464946628907; Fri, 03 Jun 2016 02:37:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.13.201.199 with HTTP; Fri, 3 Jun 2016 02:37:08 -0700 (PDT) In-Reply-To: References: From: Ed Schouten Date: Fri, 03 Jun 2016 09:37:00 -0000 Message-ID: Subject: Re: Likely incorrect patch: remove the faulty basename() prototype from libiberty To: Joseph Myers Cc: DJ Delorie , gdb-patches@sourceware.org Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2016-06/txt/msg00047.txt.bz2 Hi Joseph, 2016-06-02 23:27 GMT+02:00 Joseph Myers : > Note that there are two different and incompatible basename functions. ... when using glibc. On systems with other C libraries, there is typically only one variant of basename(). In some cases it tends to be the BSD one, in others it tends to be the one from POSIX (which glibc calls __xpg_basename). On systems that do provide the POSIX variant, consumers of libiberty already use it, regardless of what they'd want. -- Ed Schouten Nuxi, 's-Hertogenbosch, the Netherlands KvK-nr.: 62051717