history size 0 broken in 1.14(.4)
Denys Vlasenko
vda.linux at googlemail.com
Sun Sep 27 00:48:28 UTC 2009
On Friday 25 September 2009 16:54, Alejandro Mery wrote:
> Hello,
>
> setting editing history to zero doesn't work in 1.14.4
>
> $ grep HISTORY .config
> CONFIG_FEATURE_EDITING_HISTORY=0
> # CONFIG_FEATURE_EDITING_SAVEHISTORY is not set
>
>
> libbb/lineedit.c: In function 'read_line_input':
> libbb/lineedit.c:1500: error: 'line_input_t' has no member named
> 'cur_history'
> libbb/lineedit.c:1500: error: 'line_input_t' has no member named
> 'cnt_history'
> make[1]: *** [libbb/lineedit.o] Error 1
>
> I got dizzy trying to find where to "#if MAX_HISTORY" so I
> temporarily set it to 15.
Try attached patch.
--
vda
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3.patch
Type: text/x-diff
Size: 4106 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20090927/04a05a3f/attachment.bin>
More information about the busybox
mailing list