[BusyBox] Re: ash.c patch for xxreadtoken
Matt Kraai
kraai at alumni.carnegiemellon.edu
Tue Aug 14 10:33:51 UTC 2001
On Tue, Aug 14, 2001 at 10:16:01AM -0600, Manuel Novoa III wrote:
> On Tue, Aug 14, 2001 at 11:20:20AM +0400, Vladimir N. Oleynik wrote:
> > You looked realization strcpy in libbb/simpify_path.c?
>
> Since you asked, I just took a look. Why all the redundant copying in
> simplify_path() ? Even though I shouldn't have taken the time, attached
> is a version of simplify_path() that doesn't do all the extra copying.
> For me, it is 100 bytes smaller.
It looks like your version doesn't strip trailing slashes. Would
you be willing to fix this and submit a new version?
Matt
More information about the busybox
mailing list