From: Ed Schouten <ed@nuxi.nl>
To: Joseph Myers <joseph@codesourcery.com>
Cc: DJ Delorie <dj@redhat.com>, gdb-patches@sourceware.org
Subject: Re: Likely incorrect patch: remove the faulty basename() prototype from libiberty
Date: Fri, 03 Jun 2016 09:37:00 -0000 [thread overview]
Message-ID: <CABh_MK=berD_bkyu7Dt0Ki3OS0f2tU6_0c9jgn-zA7mheDb5zA@mail.gmail.com> (raw)
In-Reply-To: <alpine.DEB.2.20.1606022123460.9542@digraph.polyomino.org.uk>
Hi Joseph,
2016-06-02 23:27 GMT+02:00 Joseph Myers <joseph@codesourcery.com>:
> 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 <ed@nuxi.nl>
Nuxi, 's-Hertogenbosch, the Netherlands
KvK-nr.: 62051717
prev parent reply other threads:[~2016-06-03 9:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-29 14:58 Ed Schouten
2016-05-29 16:32 ` DJ Delorie
2016-05-29 16:36 ` Ed Schouten
2016-05-29 17:06 ` DJ Delorie
2016-05-29 17:24 ` Ed Schouten
2016-05-29 17:35 ` DJ Delorie
2016-06-02 21:27 ` Joseph Myers
2016-06-03 9:37 ` Ed Schouten [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CABh_MK=berD_bkyu7Dt0Ki3OS0f2tU6_0c9jgn-zA7mheDb5zA@mail.gmail.com' \
--to=ed@nuxi.nl \
--cc=dj@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=joseph@codesourcery.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox