+Sun Jan 9 13:28:36 2000 Tim Janik <timj@gtk.org>
+
+ * gstrfuncs.c (g_strtod): correctly fetch the current locale,
+ fix from owen.
+
1999-12-16 Tor Lillqvist <tml@iki.fi>
* gmodule/gmodule-win32.c: Use FormatMessage to translate system
+Sun Jan 9 13:28:36 2000 Tim Janik <timj@gtk.org>
+
+ * gstrfuncs.c (g_strtod): correctly fetch the current locale,
+ fix from owen.
+
1999-12-16 Tor Lillqvist <tml@iki.fi>
* gmodule/gmodule-win32.c: Use FormatMessage to translate system
+Sun Jan 9 13:28:36 2000 Tim Janik <timj@gtk.org>
+
+ * gstrfuncs.c (g_strtod): correctly fetch the current locale,
+ fix from owen.
+
1999-12-16 Tor Lillqvist <tml@iki.fi>
* gmodule/gmodule-win32.c: Use FormatMessage to translate system
+Sun Jan 9 13:28:36 2000 Tim Janik <timj@gtk.org>
+
+ * gstrfuncs.c (g_strtod): correctly fetch the current locale,
+ fix from owen.
+
1999-12-16 Tor Lillqvist <tml@iki.fi>
* gmodule/gmodule-win32.c: Use FormatMessage to translate system
+Sun Jan 9 13:28:36 2000 Tim Janik <timj@gtk.org>
+
+ * gstrfuncs.c (g_strtod): correctly fetch the current locale,
+ fix from owen.
+
1999-12-16 Tor Lillqvist <tml@iki.fi>
* gmodule/gmodule-win32.c: Use FormatMessage to translate system
+Sun Jan 9 13:28:36 2000 Tim Janik <timj@gtk.org>
+
+ * gstrfuncs.c (g_strtod): correctly fetch the current locale,
+ fix from owen.
+
1999-12-16 Tor Lillqvist <tml@iki.fi>
* gmodule/gmodule-win32.c: Use FormatMessage to translate system
+Sun Jan 9 13:28:36 2000 Tim Janik <timj@gtk.org>
+
+ * gstrfuncs.c (g_strtod): correctly fetch the current locale,
+ fix from owen.
+
1999-12-16 Tor Lillqvist <tml@iki.fi>
* gmodule/gmodule-win32.c: Use FormatMessage to translate system
+Sun Jan 9 13:28:36 2000 Tim Janik <timj@gtk.org>
+
+ * gstrfuncs.c (g_strtod): correctly fetch the current locale,
+ fix from owen.
+
1999-12-16 Tor Lillqvist <tml@iki.fi>
* gmodule/gmodule-win32.c: Use FormatMessage to translate system
{
gchar *old_locale;
- old_locale = setlocale (LC_NUMERIC, "C");
+ old_locale = g_strdup (setlocale (LC_NUMERIC, NULL));
+ setlocale (LC_NUMERIC, "C");
val_2 = strtod (nptr, &fail_pos_2);
setlocale (LC_NUMERIC, old_locale);
+ g_free (old_locale);
}
if (!fail_pos_1 || fail_pos_1[0] == 0 || fail_pos_1 >= fail_pos_2)
{
gchar *old_locale;
- old_locale = setlocale (LC_NUMERIC, "C");
+ old_locale = g_strdup (setlocale (LC_NUMERIC, NULL));
+ setlocale (LC_NUMERIC, "C");
val_2 = strtod (nptr, &fail_pos_2);
setlocale (LC_NUMERIC, old_locale);
+ g_free (old_locale);
}
if (!fail_pos_1 || fail_pos_1[0] == 0 || fail_pos_1 >= fail_pos_2)