mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-23 18:52:09 +01:00
A stringified double can be longer than 32 chars - fix space calculation
* gstrfuncs.c: A stringified double can be longer than 32 chars - fix space calculation routine to 'double' the max amount of space a double & long double can take.
This commit is contained in:
parent
6cf3b7866d
commit
cbb5e7af5f
@ -1,3 +1,8 @@
|
||||
2000-04-10 Elliot Lee <sopwith@redhat.com>
|
||||
* gstrfuncs.c: A stringified double can be longer than 32 chars -
|
||||
fix space calculation routine to 'double' the max amount of space
|
||||
a double & long double can take.
|
||||
|
||||
Fri Mar 24 03:34:02 2000 Tim Janik <timj@gtk.org>
|
||||
|
||||
* glib.h: put a comment for the g_datalist_ and g_dataset_ API, that
|
||||
|
@ -1,3 +1,8 @@
|
||||
2000-04-10 Elliot Lee <sopwith@redhat.com>
|
||||
* gstrfuncs.c: A stringified double can be longer than 32 chars -
|
||||
fix space calculation routine to 'double' the max amount of space
|
||||
a double & long double can take.
|
||||
|
||||
Fri Mar 24 03:34:02 2000 Tim Janik <timj@gtk.org>
|
||||
|
||||
* glib.h: put a comment for the g_datalist_ and g_dataset_ API, that
|
||||
|
@ -1,3 +1,8 @@
|
||||
2000-04-10 Elliot Lee <sopwith@redhat.com>
|
||||
* gstrfuncs.c: A stringified double can be longer than 32 chars -
|
||||
fix space calculation routine to 'double' the max amount of space
|
||||
a double & long double can take.
|
||||
|
||||
Fri Mar 24 03:34:02 2000 Tim Janik <timj@gtk.org>
|
||||
|
||||
* glib.h: put a comment for the g_datalist_ and g_dataset_ API, that
|
||||
|
@ -1,3 +1,8 @@
|
||||
2000-04-10 Elliot Lee <sopwith@redhat.com>
|
||||
* gstrfuncs.c: A stringified double can be longer than 32 chars -
|
||||
fix space calculation routine to 'double' the max amount of space
|
||||
a double & long double can take.
|
||||
|
||||
Fri Mar 24 03:34:02 2000 Tim Janik <timj@gtk.org>
|
||||
|
||||
* glib.h: put a comment for the g_datalist_ and g_dataset_ API, that
|
||||
|
@ -1,3 +1,8 @@
|
||||
2000-04-10 Elliot Lee <sopwith@redhat.com>
|
||||
* gstrfuncs.c: A stringified double can be longer than 32 chars -
|
||||
fix space calculation routine to 'double' the max amount of space
|
||||
a double & long double can take.
|
||||
|
||||
Fri Mar 24 03:34:02 2000 Tim Janik <timj@gtk.org>
|
||||
|
||||
* glib.h: put a comment for the g_datalist_ and g_dataset_ API, that
|
||||
|
@ -1,3 +1,8 @@
|
||||
2000-04-10 Elliot Lee <sopwith@redhat.com>
|
||||
* gstrfuncs.c: A stringified double can be longer than 32 chars -
|
||||
fix space calculation routine to 'double' the max amount of space
|
||||
a double & long double can take.
|
||||
|
||||
Fri Mar 24 03:34:02 2000 Tim Janik <timj@gtk.org>
|
||||
|
||||
* glib.h: put a comment for the g_datalist_ and g_dataset_ API, that
|
||||
|
@ -1,3 +1,8 @@
|
||||
2000-04-10 Elliot Lee <sopwith@redhat.com>
|
||||
* gstrfuncs.c: A stringified double can be longer than 32 chars -
|
||||
fix space calculation routine to 'double' the max amount of space
|
||||
a double & long double can take.
|
||||
|
||||
Fri Mar 24 03:34:02 2000 Tim Janik <timj@gtk.org>
|
||||
|
||||
* glib.h: put a comment for the g_datalist_ and g_dataset_ API, that
|
||||
|
@ -1,3 +1,8 @@
|
||||
2000-04-10 Elliot Lee <sopwith@redhat.com>
|
||||
* gstrfuncs.c: A stringified double can be longer than 32 chars -
|
||||
fix space calculation routine to 'double' the max amount of space
|
||||
a double & long double can take.
|
||||
|
||||
Fri Mar 24 03:34:02 2000 Tim Janik <timj@gtk.org>
|
||||
|
||||
* glib.h: put a comment for the g_datalist_ and g_dataset_ API, that
|
||||
|
@ -897,7 +897,7 @@ g_printf_string_upper_bound (const gchar* format,
|
||||
else
|
||||
#endif /* HAVE_LONG_DOUBLE */
|
||||
(void) va_arg (args, double);
|
||||
len += extra_long ? 64 : 32;
|
||||
len += extra_long ? 128 : 64;
|
||||
done = TRUE;
|
||||
break;
|
||||
case 'c':
|
||||
|
@ -897,7 +897,7 @@ g_printf_string_upper_bound (const gchar* format,
|
||||
else
|
||||
#endif /* HAVE_LONG_DOUBLE */
|
||||
(void) va_arg (args, double);
|
||||
len += extra_long ? 64 : 32;
|
||||
len += extra_long ? 128 : 64;
|
||||
done = TRUE;
|
||||
break;
|
||||
case 'c':
|
||||
|
Loading…
x
Reference in New Issue
Block a user