+1999-03-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * gutils.c (g_get_any_init): Fixed yet another bloody
+ implementation of getpwuid_r on AIX. Thanks to Olaf Dietsche
+ <olaf.dietsche+list.gtk@netcologne.de>. I would like a configure
+ test better than that, but have no idea, how to do that easily.
+
Sat Feb 27 01:18:47 1999 Tim Janik <timj@gtk.org>
* ChangeLog: moved old ChangeLog to ChangeLog.pre-1-2, and started
+1999-03-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * gutils.c (g_get_any_init): Fixed yet another bloody
+ implementation of getpwuid_r on AIX. Thanks to Olaf Dietsche
+ <olaf.dietsche+list.gtk@netcologne.de>. I would like a configure
+ test better than that, but have no idea, how to do that easily.
+
Sat Feb 27 01:18:47 1999 Tim Janik <timj@gtk.org>
* ChangeLog: moved old ChangeLog to ChangeLog.pre-1-2, and started
+1999-03-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * gutils.c (g_get_any_init): Fixed yet another bloody
+ implementation of getpwuid_r on AIX. Thanks to Olaf Dietsche
+ <olaf.dietsche+list.gtk@netcologne.de>. I would like a configure
+ test better than that, but have no idea, how to do that easily.
+
Sat Feb 27 01:18:47 1999 Tim Janik <timj@gtk.org>
* ChangeLog: moved old ChangeLog to ChangeLog.pre-1-2, and started
+1999-03-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * gutils.c (g_get_any_init): Fixed yet another bloody
+ implementation of getpwuid_r on AIX. Thanks to Olaf Dietsche
+ <olaf.dietsche+list.gtk@netcologne.de>. I would like a configure
+ test better than that, but have no idea, how to do that easily.
+
Sat Feb 27 01:18:47 1999 Tim Janik <timj@gtk.org>
* ChangeLog: moved old ChangeLog to ChangeLog.pre-1-2, and started
+1999-03-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * gutils.c (g_get_any_init): Fixed yet another bloody
+ implementation of getpwuid_r on AIX. Thanks to Olaf Dietsche
+ <olaf.dietsche+list.gtk@netcologne.de>. I would like a configure
+ test better than that, but have no idea, how to do that easily.
+
Sat Feb 27 01:18:47 1999 Tim Janik <timj@gtk.org>
* ChangeLog: moved old ChangeLog to ChangeLog.pre-1-2, and started
+1999-03-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * gutils.c (g_get_any_init): Fixed yet another bloody
+ implementation of getpwuid_r on AIX. Thanks to Olaf Dietsche
+ <olaf.dietsche+list.gtk@netcologne.de>. I would like a configure
+ test better than that, but have no idea, how to do that easily.
+
Sat Feb 27 01:18:47 1999 Tim Janik <timj@gtk.org>
* ChangeLog: moved old ChangeLog to ChangeLog.pre-1-2, and started
+1999-03-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * gutils.c (g_get_any_init): Fixed yet another bloody
+ implementation of getpwuid_r on AIX. Thanks to Olaf Dietsche
+ <olaf.dietsche+list.gtk@netcologne.de>. I would like a configure
+ test better than that, but have no idea, how to do that easily.
+
Sat Feb 27 01:18:47 1999 Tim Janik <timj@gtk.org>
* ChangeLog: moved old ChangeLog to ChangeLog.pre-1-2, and started
+1999-03-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * gutils.c (g_get_any_init): Fixed yet another bloody
+ implementation of getpwuid_r on AIX. Thanks to Olaf Dietsche
+ <olaf.dietsche+list.gtk@netcologne.de>. I would like a configure
+ test better than that, but have no idea, how to do that easily.
+
Sat Feb 27 01:18:47 1999 Tim Janik <timj@gtk.org>
* ChangeLog: moved old ChangeLog to ChangeLog.pre-1-2, and started
errno = 0;
# ifdef HAVE_GETPWUID_R_POSIX
- error = getpwuid_r (getuid (), &pwd, buffer, bufsize, &pw);
+ error = getpwuid_r (getuid (), &pwd, buffer, bufsize, &pw);
error = error < 0 ? errno : error;
# else /* !HAVE_GETPWUID_R_POSIX */
+# ifdef _AIX
+ error = getpwuid_r (getuid (), &pwd, buffer, bufsize);
+ pw = error == 0 ? &pwd : NULL;
+# else /* !_AIX */
pw = getpwuid_r (getuid (), &pwd, buffer, bufsize);
error = pw ? 0 : errno;
+# endif /* !_AIX */
# endif /* !HAVE_GETPWUID_R_POSIX */
if (!pw)
errno = 0;
# ifdef HAVE_GETPWUID_R_POSIX
- error = getpwuid_r (getuid (), &pwd, buffer, bufsize, &pw);
+ error = getpwuid_r (getuid (), &pwd, buffer, bufsize, &pw);
error = error < 0 ? errno : error;
# else /* !HAVE_GETPWUID_R_POSIX */
+# ifdef _AIX
+ error = getpwuid_r (getuid (), &pwd, buffer, bufsize);
+ pw = error == 0 ? &pwd : NULL;
+# else /* !_AIX */
pw = getpwuid_r (getuid (), &pwd, buffer, bufsize);
error = pw ? 0 : errno;
+# endif /* !_AIX */
# endif /* !HAVE_GETPWUID_R_POSIX */
if (!pw)