Re: [gupnp] [PATCH 2/2] Use locale-independent float <-> string conversions
- From: Sven Neumann <s neumann raumfeld com>
- To: gupnp o-hand com
- Subject: Re: [gupnp] [PATCH 2/2] Use locale-independent float <-> string conversions
- Date: Tue, 14 Sep 2010 10:40:06 +0200
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.
Sven
--
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]