2013-09-26 17:14:40 +02:00

14 lines
412 B
Plaintext

$NetBSD: patch-af,v 1.7 2006/07/11 09:35:13 rillig 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
{