[BusyBox] make_directory, dirname() bug ?

Matt Kraai kraai at alumni.carnegiemellon.edu
Fri Aug 24 13:57:19 UTC 2001


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





More information about the busybox mailing list