2007-11-08 Matthias Clasen <mclasen@redhat.com>
* glib/gstrfuncs.c (g_parse_long_long): Don't leave
out parameters uninitialized. (#490061, Benjamin Otte)
svn path=/trunk/; revision=5819
+2007-11-08 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gstrfuncs.c (g_parse_long_long): Don't leave
+ out parameters uninitialized. (#490061, Benjamin Otte)
+
2007-11-07 Matthias Clasen <mclasen@redhat.com>
* glib/gmain.c (g_main_context_unref): Don't leak the
g_return_val_if_fail (nptr != NULL, 0);
+ *negative = FALSE;
if (base == 1 || base > 36)
{
errno = EINVAL;
+ if (endptr)
+ *endptr = nptr;
return 0;
}
goto noconv;
/* Check for a sign. */
- *negative = FALSE;
if (*s == '-')
{
*negative = TRUE;