$NetBSD: patch-af,v 1.6 2006/06/08 21:13:39 tron Exp $

--- gutils.c.orig	2000-08-09 20:12:31.000000000 +0200
+++ gutils.c	2006-07-11 11:30:51.000000000 +0200
@@ -487,6 +487,8 @@ g_get_any_init (void)
         guint bufsize = 64;
 #    endif /* _SC_GETPW_R_SIZE_MAX */
         gint error;
+
+        if (bufsize == (guint) -1) bufsize = 64; /* XXX Correct for unimpelemented SC */
 	
         do
           {
