From: Wolfgang Denk Date: Tue, 15 Feb 2011 21:46:08 +0100 Subject: [U-Boot] [PATCH] itest: fix result of string compares In-Reply-To: <1297180565-23763-1-git-send-email-wd@denx.de> References: <1297180565-23763-1-git-send-email-wd@denx.de> Message-ID: <20110215204608.5767F101D41@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Wolfgang Denk, In message <1297180565-23763-1-git-send-email-wd@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 > --- > 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.