[syslinux] [PATCH 4/4 v2] com32: Fix a bug on history of commands.

Matt Fleming matt at console-pimps.org
Mon Sep 30 07:22:55 PDT 2013


On Tue, 17 Sep, at 04:52:10PM, Raphael S.Carvalho wrote:
> Previously, even zero-length commands would be added to the history when
> they shoudn't, e.g: just typing enter.
> 
> For example, if you type: FOO -> (ENTER) -> (ENTER),
> then to get FOO from the history you would have to press the UP key
> twice. It also saves a bit of memory.
> 
> Signed-off-by: Raphael S.Carvalho <raphael.scarv at gmail.com>
> ---
>  com32/elflink/ldlinux/cli.c |   13 ++++++++-----
>  1 files changed, 8 insertions(+), 5 deletions(-)

Applied, thanks!

-- 
Matt Fleming, Intel Open Source Technology Center


More information about the Syslinux mailing list