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:
bdd2d8f
)
less: disable _ command, it's useless bloat
author
Denis Vlasenko
<vda.linux@googlemail.com>
Sun, 26 Oct 2008 00:15:36 +0000
(
00:15
-0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Sun, 26 Oct 2008 00:15:36 +0000
(
00:15
-0000)
miscutils/less.c
patch
|
blob
|
history
diff --git
a/miscutils/less.c
b/miscutils/less.c
index d9ada619a3b18c162b20c727d22b03ca814a6bdd..6f28200d7bc8afd921fcc1c2c9fbfe6fef4b5eb6 100644
(file)
--- a/
miscutils/less.c
+++ b/
miscutils/less.c
@@
-1211,6
+1211,7
@@
static void flag_change(void)
}
}
+#ifdef BLOAT
static void show_flag_status(void)
{
int keypress;
@@
-1246,6
+1247,8
@@
static void show_flag_status(void)
}
#endif
+#endif /* ENABLE_FEATURE_LESS_DASHCMD */
+
static void save_input_to_file(void)
{
const char *msg = "";
@@
-1450,10
+1453,12
@@
static void keypress_process(int keypress)
flag_change();
buffer_print();
break;
+#ifdef BLOAT
case '_':
show_flag_status();
break;
#endif
+#endif
#if ENABLE_FEATURE_LESS_BRACKETS
case '{': case '(': case '[':
match_right_bracket(keypress);