projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a813e2
)
#define FEATURE_GETUSERNAME_AND_HOMEDIR should be always #defined
author
Denis Vlasenko
<vda.linux@googlemail.com>
Sat, 23 Dec 2006 01:21:55 +0000
(
01:21
-0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Sat, 23 Dec 2006 01:21:55 +0000
(
01:21
-0000)
shell/cmdedit.c
patch
|
blob
|
history
diff --git
a/shell/cmdedit.c
b/shell/cmdedit.c
index 93758c9fbdc6bd6d368eff8e423029b90ea5c929..bc9cc5ef405a9b38e2c7195f32a2b8d4c5e64c07 100644
(file)
--- a/
shell/cmdedit.c
+++ b/
shell/cmdedit.c
@@
-58,9
+58,8
@@
#if ENABLE_FEATURE_COMMAND_EDITING
-#if ENABLE_FEATURE_COMMAND_USERNAME_COMPLETION || ENABLE_FEATURE_SH_FANCY_PROMPT
-#define ENABLE_FEATURE_GETUSERNAME_AND_HOMEDIR 1
-#endif
+#define ENABLE_FEATURE_GETUSERNAME_AND_HOMEDIR \
+(ENABLE_FEATURE_COMMAND_USERNAME_COMPLETION || ENABLE_FEATURE_SH_FANCY_PROMPT)
/* Maximum length of the linked list for the command line history */
#if !ENABLE_FEATURE_COMMAND_HISTORY