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

Detlev Zundel dzu at denx.de
Tue Feb 15 14:55:46 CET 2011


Hi Wolfgang,

> 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>

Acked-by: Detlev Zundel <dzu at denx.de> 

Cheers
  Detlev

-- 
The Buddha,  the Godhead,  resides quite as comfortably in the circuits of a
digital computer  or the gears of a cycle transmission as he does at the top
of a mountain or in the petals of a flower.  To think otherwise is to demean
the Buddha - which is to demean oneself.                 -- Robert M. Pirsig
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de


More information about the U-Boot mailing list