Re: [PATCH] Fix regression tests on Turkish locale
From: Carsten Koch <Carsten.Koch_at_icem.com>
Date: 2007-12-24 14:58:18 CET
Ismail Dönmez wrote:
Wait... From the strcasecmp man page:
"The strcasecmp() function compares the two strings s1 and s2, ignoring the case of the characters."
So, IMHO it does not make any sense to compare the same word
if (strcasecmp(word, "committed") == 0)
should have exactly the same effect as
if ( strcasecmp(word, "committed") == 0 || strcasecmp(word, "COMMITTED") == 0)
Am I missing something here?
Carsten.
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.