[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Subversion 1.4.6 : 3 tests fail when locale is set to Turkish (tr_TR.UTF-8)

From: Branko Čibej <brane_at_xbc.nu>
Date: 2007-12-22 23:47:39 CET

Ismail Dönmez wrote:
> Sunday 23 December 2007 00:07:07 tarihinde Branko Čibej şunları yazmıştı:
>
>> Oh wow. linsvn_subr/opt.c:revision_from_word does this:
>>
>> else if (strcasecmp(word, "committed") == 0)
>> {
>> revision->kind = svn_opt_revision_committed;
>> }
>>
>
> Just do a
>
> const char* locale = setlocale (LC_ALL,"C") before strcasecmp and
>
> setlocale(LC_ALL,locale)
>
> after the comparisons?
>

That unfortunately wouldn't work on Windows.

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Dec 22 23:47:53 2007

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.