[BusyBox] The mount rewrite is in.

Thomas Fröhlich bornland at gmx.at
Tue Aug 23 08:35:43 UTC 2005


Am Mittwoch, 17. August 2005 19:35 schrieb Rob Landley:
> 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.

I use arm-linux-uclibc-gcc (GCC) 3.3.3.

thx, the line works...
regards
Thomas
-- 
Thomas Fröhlich           bornland at gmx.at

Homepage: http://www.torjin.at
Meister der Orden: http://www.dsa-ring.de
ICQ: 93878484

Leben schenken durch Organspende:
http://www.silvi.de/nieren/

There once was a miner named Dave,
Who kept a dead whore in his cave.
	She was ugly as shit,
	And missing one tit,
But think of the money he saves.



More information about the busybox mailing list