mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-23 10:42:11 +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
eef378cd31
commit
91c3c3ab1c
@ -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-10-23 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gnulib/g-gnulib.h: Undef libc functions before defining
|
||||
|
@ -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-10-23 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gnulib/g-gnulib.h: Undef libc functions before defining
|
||||
|
@ -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-10-23 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gnulib/g-gnulib.h: Undef libc functions before defining
|
||||
|
@ -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-10-23 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gnulib/g-gnulib.h: Undef libc functions before defining
|
||||
|
@ -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-10-23 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gnulib/g-gnulib.h: Undef libc functions before defining
|
||||
|
@ -934,7 +934,10 @@ g_get_any_init (void)
|
||||
do
|
||||
{
|
||||
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;
|
||||
|
||||
# ifdef HAVE_POSIX_GETPWUID_R
|
||||
|
Loading…
x
Reference in New Issue
Block a user