[U-Boot] [PATCH] itest: fix result of string compares

Wolfgang Denk wd at denx.de
Tue Feb 15 21:46:08 CET 2011


Dear Wolfgang Denk,

In message <1297180565-23763-1-git-send-email-wd at denx.de> you wrote:
> The implementation of the string compare function of the "itest"
> command was weird, as only the length of the shortest argument was
> included in the compare, with the result that something like
> "itest.s abd == abddef" would return TRUE.  Fix this.
> 
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> ---
>  common/cmd_itest.c |    7 ++-----
>  1 files changed, 2 insertions(+), 5 deletions(-)

Applied.

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
Experience is what causes a person to make new  mistakes  instead  of
old ones.


More information about the U-Boot mailing list