svn commit: trunk/busybox/miscutils

vda at busybox.net vda at busybox.net
Sun Oct 26 00:15:37 UTC 2008


Author: vda
Date: 2008-10-25 17:15:36 -0700 (Sat, 25 Oct 2008)
New Revision: 23790

Log:
less: disable _ command, it's useless bloat



Modified:
   trunk/busybox/miscutils/less.c


Changeset:
Modified: trunk/busybox/miscutils/less.c
===================================================================
--- trunk/busybox/miscutils/less.c	2008-10-25 23:59:41 UTC (rev 23789)
+++ trunk/busybox/miscutils/less.c	2008-10-26 00:15:36 UTC (rev 23790)
@@ -1211,6 +1211,7 @@
 	}
 }
 
+#ifdef BLOAT
 static void show_flag_status(void)
 {
 	int keypress;
@@ -1246,6 +1247,8 @@
 }
 #endif
 
+#endif /* ENABLE_FEATURE_LESS_DASHCMD */
+
 static void save_input_to_file(void)
 {
 	const char *msg = "";
@@ -1450,10 +1453,12 @@
 		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);




More information about the busybox-cvs mailing list