[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [BusyBox] make_directory, dirname() bug ?
From:       Matt Kraai <kraai () alumni ! carnegiemellon ! edu>
Date:       2001-08-24 13:57:19
[Download RAW message or body]

On Fri, Aug 24, 2001 at 01:31:20PM -0600, Matt Kraai wrote:
> On Sat, Aug 25, 2001 at 01:22:09PM +1000, Glenn McGrath wrote:
> > On Fri, 24 Aug 2001 12:58:11 -0600
> > "Matt Kraai" <kraai@alumni.carnegiemellon.edu> wrote:
> > 
> > > Perhaps libc6 2.2.4 overrides libbb's dirname.
> > 
> > arghh, i didnt realise there was a libbb dirname and a glibc dirname, that
> > must be it.
> 
> I didn't realize libc provided one.  If it is provided by all the
> C libraries that we support, I'd be happy to tear out the one in
> libbb.  Similarly for basename (aka get_last_path_component).

I just canonicalized the libbb dirname(3) to not allocate memory.
The old interface was nicer.

Matt



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic