[BusyBox] 0.51 BUG? including configuration

Magnus Damm damm at opensource.se
Tue Apr 24 11:49:09 UTC 2001


Hi again,

the files "mount.c" and "sh.c" seems to do #ifdefs before
"busybox.h" gets included.

That might break the following features:

mount: BB_FEATURE_USE_DEVPS_PATCH
sh: BB_LOCALE_SUPPORT

I have no fix for that right now, but it seems
like dead code / bugs to me.


another question:
how does the libbb/*-files get their configuration?

libbb/mtab_file.c needs to know about:

BB_FEATURE_MTAB_SUPPORT 
BB_FEATURE_USE_DEVPS_PATCH

I don't think it gets the right configuration today.

My quick-fix: Add

#include "../busybox.h"

to libbb/mtab_file.c

Thanks /

Magnus





More information about the busybox mailing list