diff options
Diffstat (limited to 'libbb/messages.c')
-rw-r--r-- | libbb/messages.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/libbb/messages.c b/libbb/messages.c index 04863855a..e35bf8c6b 100644 --- a/libbb/messages.c +++ b/libbb/messages.c | |||
@@ -30,7 +30,17 @@ const char bb_hexdigits_upcase[] ALIGN1 = "0123456789ABCDEF"; | |||
30 | #if !ENABLE_PLATFORM_MINGW32 | 30 | #if !ENABLE_PLATFORM_MINGW32 |
31 | const char bb_busybox_exec_path[] ALIGN1 = CONFIG_BUSYBOX_EXEC_PATH; | 31 | const char bb_busybox_exec_path[] ALIGN1 = CONFIG_BUSYBOX_EXEC_PATH; |
32 | #else | 32 | #else |
33 | const char bb_skip_ansi_emulation[] ALIGN1 = "BB_SKIP_ANSI_EMULATION"; | 33 | /* Some special shell variables are placed in the environment immediately |
34 | * when they're exported. | ||
35 | * | ||
36 | * BB_GLOBBING and BB_UMASK are excluded because users shouln't be | ||
37 | * messing with them; BB_ALT_BUFFER and BB_FIX_BACKSLASH are excluded | ||
38 | * because they only affect particular applets, not the shell itself. | ||
39 | */ | ||
40 | const char bbvar[] ALIGN1 = | ||
41 | "BB_OVERRIDE_APPLETS\0" \ | ||
42 | "BB_SKIP_ANSI_EMULATION\0" \ | ||
43 | "BB_SYSTEMROOT\0"; | ||
34 | #endif | 44 | #endif |
35 | const char bb_default_login_shell[] ALIGN1 = LIBBB_DEFAULT_LOGIN_SHELL; | 45 | const char bb_default_login_shell[] ALIGN1 = LIBBB_DEFAULT_LOGIN_SHELL; |
36 | /* util-linux manpage says /sbin:/bin:/usr/sbin:/usr/bin, | 46 | /* util-linux manpage says /sbin:/bin:/usr/sbin:/usr/bin, |