From: Detlev Zundel Date: Tue, 15 Feb 2011 14:55:46 +0100 Subject: [U-Boot] [PATCH] itest: fix result of string compares In-Reply-To: <1297180565-23763-1-git-send-email-wd@denx.de> (Wolfgang Denk's message of "Tue, 8 Feb 2011 16:56:05 +0100") References: <1297180565-23763-1-git-send-email-wd@denx.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 Acked-by: Detlev Zundel 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