history size 0 broken in 1.14(.4)

Alejandro Mery amery at opensde.org
Fri Sep 25 14:54:47 UTC 2009


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.

Thanks,
Alejandro Mery

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5013 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20090925/b8e0703c/attachment.bin>


More information about the busybox mailing list