mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-24 03:02:10 +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>
|
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
|
* 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>
|
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
|
* 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>
|
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
|
* 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>
|
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
|
* 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>
|
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
|
* 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>
|
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
|
* 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>
|
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
|
* 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>
|
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
|
* 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
|
else
|
||||||
#endif /* HAVE_LONG_DOUBLE */
|
#endif /* HAVE_LONG_DOUBLE */
|
||||||
(void) va_arg (args, double);
|
(void) va_arg (args, double);
|
||||||
len += extra_long ? 64 : 32;
|
len += extra_long ? 128 : 64;
|
||||||
done = TRUE;
|
done = TRUE;
|
||||||
break;
|
break;
|
||||||
case 'c':
|
case 'c':
|
||||||
|
@ -897,7 +897,7 @@ g_printf_string_upper_bound (const gchar* format,
|
|||||||
else
|
else
|
||||||
#endif /* HAVE_LONG_DOUBLE */
|
#endif /* HAVE_LONG_DOUBLE */
|
||||||
(void) va_arg (args, double);
|
(void) va_arg (args, double);
|
||||||
len += extra_long ? 64 : 32;
|
len += extra_long ? 128 : 64;
|
||||||
done = TRUE;
|
done = TRUE;
|
||||||
break;
|
break;
|
||||||
case 'c':
|
case 'c':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user