[PATCH] HISTFILESIZE environment variable support in ash

Alexey Fomenko ext-alexey.fomenko at nokia.com
Tue Mar 22 15:52:40 UTC 2011


Please, take a look on this one, anyone. Hope this feature will be
useful for somebody.

Thanks.

On Wed, 2011-03-16 at 16:47 +0200, ext Alexey Fomenko wrote:
> This patch adds support of environment variable HISTFILESIZE in *_history
> functions so the history length could be changed not only during compilation
> time. Default value is 256 lines.
> 
> Alexey Fomenko (1):
>   Add support of environment variable HISTFILESIZE to history
> 
>  include/libbb.h            |    7 ++++
>  include/variables.h        |   16 ++++++++++
>  libbb/Config.src           |    8 +++++
>  libbb/lineedit.c           |   63 +++++++++++++++++++++++++++++++++--------
>  shell/ash.c                |   66 +++++++++++++++++++++++++++++++++++++++++++-
>  5 files changed, 146 insertions(+), 14 deletions(-)
>  create mode 100644 include/variables.h
> 
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox




More information about the busybox mailing list