mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-02 09:16:17 +01:00
Work around an bug in Mac OS < 10.3. (#156446, Dave MacLachlan)
2004-11-07 Matthias Clasen <mclasen@redhat.com> * glib/gutils.c (g_get_any_init): Work around an bug in Mac OS < 10.3. (#156446, Dave MacLachlan)
This commit is contained in:
parent
9153616cf5
commit
6a1d7478d7
@ -1,3 +1,8 @@
|
|||||||
|
2004-11-07 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* glib/gutils.c (g_get_any_init): Work around an bug
|
||||||
|
in Mac OS < 10.3. (#156446, Dave MacLachlan)
|
||||||
|
|
||||||
2004-11-06 Tor Lillqvist <tml@iki.fi>
|
2004-11-06 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* glibconfig.h.win32.in: Cosmetics: move the G_GNUC_INTERNAL
|
* glibconfig.h.win32.in: Cosmetics: move the G_GNUC_INTERNAL
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2004-11-07 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* glib/gutils.c (g_get_any_init): Work around an bug
|
||||||
|
in Mac OS < 10.3. (#156446, Dave MacLachlan)
|
||||||
|
|
||||||
2004-11-06 Tor Lillqvist <tml@iki.fi>
|
2004-11-06 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* glibconfig.h.win32.in: Cosmetics: move the G_GNUC_INTERNAL
|
* glibconfig.h.win32.in: Cosmetics: move the G_GNUC_INTERNAL
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2004-11-07 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* glib/gutils.c (g_get_any_init): Work around an bug
|
||||||
|
in Mac OS < 10.3. (#156446, Dave MacLachlan)
|
||||||
|
|
||||||
2004-11-06 Tor Lillqvist <tml@iki.fi>
|
2004-11-06 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* glibconfig.h.win32.in: Cosmetics: move the G_GNUC_INTERNAL
|
* glibconfig.h.win32.in: Cosmetics: move the G_GNUC_INTERNAL
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2004-11-07 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* glib/gutils.c (g_get_any_init): Work around an bug
|
||||||
|
in Mac OS < 10.3. (#156446, Dave MacLachlan)
|
||||||
|
|
||||||
2004-11-06 Tor Lillqvist <tml@iki.fi>
|
2004-11-06 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* glibconfig.h.win32.in: Cosmetics: move the G_GNUC_INTERNAL
|
* glibconfig.h.win32.in: Cosmetics: move the G_GNUC_INTERNAL
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2004-11-07 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* glib/gutils.c (g_get_any_init): Work around an bug
|
||||||
|
in Mac OS < 10.3. (#156446, Dave MacLachlan)
|
||||||
|
|
||||||
2004-11-06 Tor Lillqvist <tml@iki.fi>
|
2004-11-06 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* glibconfig.h.win32.in: Cosmetics: move the G_GNUC_INTERNAL
|
* glibconfig.h.win32.in: Cosmetics: move the G_GNUC_INTERNAL
|
||||||
|
@ -1061,7 +1061,10 @@ g_get_any_init (void)
|
|||||||
do
|
do
|
||||||
{
|
{
|
||||||
g_free (buffer);
|
g_free (buffer);
|
||||||
buffer = g_malloc (bufsize);
|
/* we allocate 6 extra bytes to work around a bug in
|
||||||
|
* Mac OS < 10.3. See #156446
|
||||||
|
*/
|
||||||
|
buffer = g_malloc (bufsize + 6);
|
||||||
errno = 0;
|
errno = 0;
|
||||||
|
|
||||||
# ifdef HAVE_POSIX_GETPWUID_R
|
# ifdef HAVE_POSIX_GETPWUID_R
|
||||||
|
Loading…
Reference in New Issue
Block a user