Re: [PATCH] libghttp and locale != C
- From: Christian Marillat <marillat christian wanadoo fr>
- To: gnome-devel-list gnome org
- Subject: Re: [PATCH] libghttp and locale != C
- Date: 25 Apr 2001 15:55:57 +0200
>>>> "VH" == Vlad Harchev <hvv hippo ru> writes:
[...]
>> Hm. If that library could be used by multithreaded programs (and I don't
>> see why not), then you can't call setlocale() in it, because it might
>> change locale for some unrelated thread and cause the same type of bug
>> you're trying to fix.
VH> Then we should store integer and fractional part as two integers and print
VH> them as "%d.%d". libghttp should work under any locale anyway.
This will better. My patch is a big hack.
Christian
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]