[BusyBox] get_last_path_component root directory fix

Erik Andersen andersen at lineo.com
Tue Dec 12 23:12:46 UTC 2000


On Tue Dec 12, 2000 at 01:50:30PM -0700, Matt Kraai wrote:
> Howdy,
> 
> The attached patch fixes get_last_path_component to return "/" when
> given a path to the root directory.  This makes basename behave like
> GNU, and fixes the sh prompt problem as well.  I also checked the other
> uses of get_last_path_component to make sure nothing bad happens.  I am
> making another patch to fix dirname.
> 
> Matt

Ahh, ok.  Applied thanks,

 -Erik

--
Erik B. Andersen   email:  andersen at lineo.com
--This message was written using 73% post-consumer electrons--





More information about the busybox mailing list