diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-25 01:36:03 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-25 01:36:03 +0000 |
commit | 61befda93b2ed2458c8db50d2d03cff453d36565 (patch) | |
tree | d8d9c76401d87b183bd99e7c2e82d6b6cd79f564 /shell/hush.c | |
parent | 16898406724b99ec61d16b38393137bddd6ecc25 (diff) | |
download | busybox-w32-61befda93b2ed2458c8db50d2d03cff453d36565.tar.gz busybox-w32-61befda93b2ed2458c8db50d2d03cff453d36565.tar.bz2 busybox-w32-61befda93b2ed2458c8db50d2d03cff453d36565.zip |
ash,hush: add TODO for rare build failure
*: remove some redundant includes
Diffstat (limited to 'shell/hush.c')
-rw-r--r-- | shell/hush.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/shell/hush.c b/shell/hush.c index 421272971..eafcbb4c9 100644 --- a/shell/hush.c +++ b/shell/hush.c | |||
@@ -67,6 +67,8 @@ | |||
67 | */ | 67 | */ |
68 | 68 | ||
69 | #include "busybox.h" /* for APPLET_IS_NOFORK/NOEXEC */ | 69 | #include "busybox.h" /* for APPLET_IS_NOFORK/NOEXEC */ |
70 | //TODO: pull in some .h and find out do we have SINGLE_APPLET_MAIN? | ||
71 | //#include "applet_tables.h" doesn't work | ||
70 | #include <glob.h> | 72 | #include <glob.h> |
71 | /* #include <dmalloc.h> */ | 73 | /* #include <dmalloc.h> */ |
72 | #if ENABLE_HUSH_CASE | 74 | #if ENABLE_HUSH_CASE |
@@ -75,6 +77,17 @@ | |||
75 | 77 | ||
76 | #define HUSH_VER_STR "0.91" | 78 | #define HUSH_VER_STR "0.91" |
77 | 79 | ||
80 | #if defined SINGLE_APPLET_MAIN | ||
81 | /* STANDALONE does not make sense, and won't compile */ | ||
82 | #undef CONFIG_FEATURE_SH_STANDALONE | ||
83 | #undef ENABLE_FEATURE_SH_STANDALONE | ||
84 | #undef USE_FEATURE_SH_STANDALONE | ||
85 | #define SKIP_FEATURE_SH_STANDALONE(...) __VA_ARGS__ | ||
86 | #define ENABLE_FEATURE_SH_STANDALONE 0 | ||
87 | #define USE_FEATURE_SH_STANDALONE(...) | ||
88 | #define SKIP_FEATURE_SH_STANDALONE(...) __VA_ARGS__ | ||
89 | #endif | ||
90 | |||
78 | #if !BB_MMU && ENABLE_HUSH_TICK | 91 | #if !BB_MMU && ENABLE_HUSH_TICK |
79 | //#undef ENABLE_HUSH_TICK | 92 | //#undef ENABLE_HUSH_TICK |
80 | //#define ENABLE_HUSH_TICK 0 | 93 | //#define ENABLE_HUSH_TICK 0 |