This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] basename buffer gets spammed in `ld'
- To: DJ Delorie <dj at delorie dot com>
- Subject: Re: [PATCH] basename buffer gets spammed in `ld'
- From: "David O'Brien" <obrien at FreeBSD dot org>
- Date: Mon, 9 Jul 2001 21:16:55 -0700
- Cc: binutils at sourceware dot cygnus dot com
- Organization: The NUXI BSD group
- References: <20010709163642.A41697@dragon.nuxi.com> <200107092348.TAA00864@envy.delorie.com>
- Reply-To: obrien at FreeBSD dot org
On Mon, Jul 09, 2001 at 07:48:03PM -0400, DJ Delorie wrote:
> Have you tried replacing basename() with libiberty's new lbasename()?
> lbasename() always returns a pointer to the string you give it, which
> shouldn't be clobbered unless someone renames a bfd.
I'd like to update libiberty in the 2.11 branch based on top of tree (to
bring in lbasename). Is that something you could do? (IIRC you usually
handle the updates of libiberty w/in Binutils)
--
-- David (obrien@FreeBSD.org)