This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: cpplib: basename () fix
- To: neil at daikokuya dot demon dot co dot uk (Neil Booth)
- Subject: Re: cpplib: basename () fix
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Date: Mon, 5 Mar 2001 18:07:59 -0500 (EST)
- Cc: dj at redhat dot com, gcc-patches at gcc dot gnu dot org
> > > It sounds like you're advocating having some other function, which
> > > isn't called basename, that does what basename used to do (before XPG)
> > > but does it in a way that gcc can use it safely, that we always use.
> >
> > That would be fine.
>
> Cool. I'd like to use that function, too.
Name: nwd_basename?
I just noticed that Zack in "x-files must die: alloca" has revamped the
handling of alloca. I want to look carefully at what he has done. See
<http://gcc.gnu.org/ml/gcc-patches/2001-03/msg00194.html>. Possibly, we
just need to always build nwd_basename and forget about trying to detect
a compatible replacement from libc. What about software that used to
use basename from libiberty?
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)