[U-Boot] [PATCH] autoscr: Fix one-character lines and non-newline terminated scripts

Wolfgang Denk wd at denx.de
Wed Sep 10 11:09:54 CEST 2008


Dear Petri Lehtinen,

In message <1221029029-16157-1-git-send-email-petri.lehtinen at inoi.fi> you wrote:
> When not using hush, the autoscr command now executes lines that are
> only one character long. It also runs the last line of scripts even if
> it does not end in a newline.
> 
> Signed-off-by: Petri Lehtinen <petri.lehtinen at inoi.fi>
> ---
>  common/cmd_autoscript.c |    4 +++-
>  1 files changed, 3 insertions(+), 1 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The rule on staying alive as a program manager is to give 'em a  num-
ber or give 'em a date, but never give 'em both at once.


More information about the U-Boot mailing list