HP-UX 10 xshares the same non-posix getpwuid_r signature as AIX. (#100756,
authorOwen Taylor <otaylor@redhat.com>
Sun, 15 Dec 2002 02:35:28 +0000 (02:35 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Sun, 15 Dec 2002 02:35:28 +0000 (02:35 +0000)
Sat Dec 14 21:24:04 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/gutils.c (g_get_any_init): HP-UX 10 xshares the
        same non-posix getpwuid_r signature as AIX.
        (#100756, Kai Poitschke)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/gutils.c

index 87ea79a..902b12a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Sat Dec 14 21:24:04 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/gutils.c (g_get_any_init): HP-UX 10 xshares the
+       same non-posix getpwuid_r signature as AIX. 
+       (#100756, Kai Poitschke)
+
 Sat Dec 14 21:10:57 2002  Owen Taylor  <otaylor@redhat.com>
 
        * glib/gthread.h: Mark the contents of the strucures
index 87ea79a..902b12a 100644 (file)
@@ -1,3 +1,9 @@
+Sat Dec 14 21:24:04 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/gutils.c (g_get_any_init): HP-UX 10 xshares the
+       same non-posix getpwuid_r signature as AIX. 
+       (#100756, Kai Poitschke)
+
 Sat Dec 14 21:10:57 2002  Owen Taylor  <otaylor@redhat.com>
 
        * glib/gthread.h: Mark the contents of the strucures
index 87ea79a..902b12a 100644 (file)
@@ -1,3 +1,9 @@
+Sat Dec 14 21:24:04 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/gutils.c (g_get_any_init): HP-UX 10 xshares the
+       same non-posix getpwuid_r signature as AIX. 
+       (#100756, Kai Poitschke)
+
 Sat Dec 14 21:10:57 2002  Owen Taylor  <otaylor@redhat.com>
 
        * glib/gthread.h: Mark the contents of the strucures
index 87ea79a..902b12a 100644 (file)
@@ -1,3 +1,9 @@
+Sat Dec 14 21:24:04 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/gutils.c (g_get_any_init): HP-UX 10 xshares the
+       same non-posix getpwuid_r signature as AIX. 
+       (#100756, Kai Poitschke)
+
 Sat Dec 14 21:10:57 2002  Owen Taylor  <otaylor@redhat.com>
 
        * glib/gthread.h: Mark the contents of the strucures
index 87ea79a..902b12a 100644 (file)
@@ -1,3 +1,9 @@
+Sat Dec 14 21:24:04 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/gutils.c (g_get_any_init): HP-UX 10 xshares the
+       same non-posix getpwuid_r signature as AIX. 
+       (#100756, Kai Poitschke)
+
 Sat Dec 14 21:10:57 2002  Owen Taylor  <otaylor@redhat.com>
 
        * glib/gthread.h: Mark the contents of the strucures
index 87ea79a..902b12a 100644 (file)
@@ -1,3 +1,9 @@
+Sat Dec 14 21:24:04 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/gutils.c (g_get_any_init): HP-UX 10 xshares the
+       same non-posix getpwuid_r signature as AIX. 
+       (#100756, Kai Poitschke)
+
 Sat Dec 14 21:10:57 2002  Owen Taylor  <otaylor@redhat.com>
 
        * glib/gthread.h: Mark the contents of the strucures
index 87ea79a..902b12a 100644 (file)
@@ -1,3 +1,9 @@
+Sat Dec 14 21:24:04 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/gutils.c (g_get_any_init): HP-UX 10 xshares the
+       same non-posix getpwuid_r signature as AIX. 
+       (#100756, Kai Poitschke)
+
 Sat Dec 14 21:10:57 2002  Owen Taylor  <otaylor@redhat.com>
 
        * glib/gthread.h: Mark the contents of the strucures
index ad60e9a..06c4fd8 100644 (file)
@@ -782,7 +782,8 @@ g_get_any_init (void)
            error = getpwuid_r (getuid (), &pwd, buffer, bufsize, &pw);
             error = error < 0 ? errno : error;
 #    else /* HAVE_NONPOSIX_GETPWUID_R */
-#      ifdef _AIX
+       /* HPUX 11 falls into the HAVE_POSIX_GETPWUID_R case */
+#      if defined(_AIX) || defined(__hpux)
            error = getpwuid_r (getuid (), &pwd, buffer, bufsize);
            pw = error == 0 ? &pwd : NULL;
 #      else /* !_AIX */