[BusyBox] The mount rewrite is in.

Rob Landley rob at landley.net
Wed Aug 17 17:35:54 UTC 2005


On Wednesday 17 August 2005 03:15, Thomas Fröhlich wrote:
> compilation failed with
> busybox/util-linux/util-linux.a(umount.o)(.text+0x2b8): In function

Here's a thought:

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.

Rob



More information about the busybox mailing list