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

--- gutils.c.orig	2003-09-04 22:39:55.000000000 +0200
+++ gutils.c	2003-09-04 22:41:06.000000000 +0200
@@ -483,6 +483,7 @@
 #    ifdef _SC_GETPW_R_SIZE_MAX  
         /* This reurns the maximum length */
         guint bufsize = sysconf (_SC_GETPW_R_SIZE_MAX);
+	if (bufsize == (guint) -1) bufsize = 64; /* XXX Correct for unimpelemented SC */
 #    else /* _SC_GETPW_R_SIZE_MAX */
         guint bufsize = 64;
 #    endif /* _SC_GETPW_R_SIZE_MAX */
