[Bug 185] Add an option not to reload command line history with ash shell

bugzilla at busybox.net bugzilla at busybox.net
Sun May 17 16:06:40 UTC 2009


https://bugs.busybox.net/show_bug.cgi?id=185





--- Comment #19 from Denys Vlasenko <vda.linux at googlemail.com>  2009-05-17 16:06:40 UTC ---
In your patch:

+++ busybox-1.14.0/shell/ash.c
@@ -1751,6 +1751,9 @@
 #if ENABLE_ASH_RANDOM_SUPPORT
 static void change_random(const char *);
 #endif
+#if ENABLE_FEATURE_EDITING_SAVEHISTORY
+void save_history(line_input_t *);
+#endif


This should go into libbb.h, not ash.c. Interfaces are defined in .h files, not
.c files.

Ideally, ash should not know/care how history saving works. It just sets
history file name and SAVE_HISTORY bit in ->flags.


-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list