Re: [gupnp] [PATCH 2/2] Use locale-independent float <-> string conversions
- From: "Zeeshan Ali (Khattak)" <zeenix gmail com>
- To: gupnp o-hand com
- Subject: Re: [gupnp] [PATCH 2/2] Use locale-independent float <-> string conversions
- Date: Tue, 14 Sep 2010 17:04:15 +0300
Hi,
On Tue, Sep 14, 2010 at 12:43 PM, Sven Neumann <s neumann raumfeld com> wrote:
> On Tue, 2010-09-14 at 10:40 +0200, Sven Neumann wrote:
>> On Tue, 2010-09-14 at 10:09 +0200, Sven Neumann wrote:
>> > Read and write floats and doubles using the '.' as decimal
>> > separator, independent of the locale that is currently in use.
>>
>> The current code uses atof() and printf() to read and write floating
>> point values used as parameters in UPnP actions. These functions will
>> act differently depending on the locale that is currently in use. The
>> patch changes this to use the locale-independent functions from glib
>> instead.
>
> To keep you from having to look this up. Here's the relevant part of the
> specification (UPnP Device Architecture v1.1):
No need, I already applied all your patches. :) Thanks a lot.
--
Regards,
Zeeshan Ali (Khattak)
FSF member#5124
--
To unsubscribe send a mail to gupnp+unsubscribe\@o-hand.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]