This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: cpplib: basename () fix


> > > 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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]