[MPlayer-dev-eng] [PATCH] Fix dll loading with Turkish locales

S. Caglar Onur caglar at uludag.org.tr
Thu Jan 20 04:24:33 CET 2005


> On Wednesday 19 January 2005 18:28, Reimar Döffinger wrote:
>> Rejected. To fix this crash alone, changing loader/win32.c, line 5311 is
>> enough.
>> Also this patch still won't make MPlayer work correctly,
>> case-insensitive comparisons are needed all over the place, e.g. http
>> requests and (in some places) option parsing.
>> The only thing that comes close to a solution (which would be fixing
>> how the language is represented on the computer) is to provide our own
>> implementation of strcasecmp (same is true to sscanf etc., too).
>> The own implementation may of course consist of a simple wrapper that
>> just sets LC_ALL to "C"... 

A patch in 
.0_pre6-locale.patch is used with mplayer-1.0_pre6 without any problems for 
our Turkish Linux distro called Uludağ Linux [ http://www.uludag.org.tr ]. 
Also i think there is no need to change all LC_ALL settings to C and revert 
back, this makes overhead. Changing LC_CTYPE is enough to fix dll loading in 
under Turkish locale [ also does not affects other locales ]. 

P.S: I'm still reading this thread on webmail, so i dont know it was 
discussed before or not... 

S.Çağlar Onur
<caglar at uludag.org.tr>

More information about the MPlayer-dev-eng mailing list