[BusyBox] bug#1205: BusyBox] bug#1205: mount handles links differently in 0.60

Vladimir N. Oleynik dzo at simtreas.ru
Tue Aug 7 09:15:02 UTC 2001


Matt,

> On Tue, Aug 07, 2001 at 11:59:02AM +0400, Vladimir N. Oleynik wrote:
> > Matt wrote:
> > > OK, the following patch should behave more like the standard mount
> > > command, in that it doesn't follow symlinks when canonicalizing
> > > pathnames.  I'll wait for approval, since the simplify_path
> > > function is anything but.
> >
> > Im tested you patch.
> > If input string is "/" or "/../" or "///" your function retured empty string.
> 
> Thanks for the testing.  The problem was a consequence of my last
> minute attempt to strip trailing /s.  I believe that the following
> patch doesn't have this problem.
> 
> As for your patch, it appears to mishandle `foo..'.  Could you
> submit a fixed version so that we can compare again?

Thanks for the testing. ;-)
New version compare gain 86 bytes ;-)


--w
vodz






More information about the busybox mailing list