[PATCH] diff: strip trailing / on dirs

Natanael Copa natanael.copa at gmail.com
Fri Jul 9 11:42:58 UTC 2010


On Fri, Jul 9, 2010 at 1:33 PM, Bernhard Reutner-Fischer
<rep.dot.nop at gmail.com> wrote:
> On Fri, Jul 09, 2010 at 09:40:12AM +0000, Natanael Copa wrote:
>>fixes #2203
>>https://bugs.busybox.net/show_bug.cgi?id=2203
>
> shouldn't this be more like
>  while ((lc = last_char_is(p[i], '/')) != NULL)
>    *lc = 0;

yes. I think you are right.

-- 
Natanael Copa


More information about the busybox mailing list