[BusyBox] The mount rewrite is in.
Rob Landley
rob at landley.net
Tue Aug 23 19:56:30 UTC 2005
On Tuesday 23 August 2005 03:35, Thomas Fröhlich wrote:
> > Change the erase_mtab() line to read:
> >
> > if(ENABLE_FEATURE_MTAB_SUPPORT && useMtab && m) erase_mtab(m->dir);
> >
> > In theory, that's redundant but if your compiler is so broken it can't
> > handle simple constant propogation on local variables, that might beat
> > it over the head to work right. The rest will optimize if(constant &&)
> > out anyway.
>
> I use arm-linux-uclibc-gcc (GCC) 3.3.3.
Huh, I'm using gcc 3.3.5 here. I suspect the optimizer might be
platform-dependent in this case, and arm's has been a bit neglected...
I'll check in the change.
Rob
More information about the busybox
mailing list