dbus/dbus dbus-sysdeps-util.c,1.3,1.4

Colin Walters walters at freedesktop.org
Wed May 11 10:59:48 PDT 2005


Update of /cvs/dbus/dbus/dbus
In directory gabe:/tmp/cvs-serv15652/dbus

Modified Files:
	dbus-sysdeps-util.c 
Log Message:
2005-05-11  Colin Walters  <walters at verbum.org>

	* dbus/dbus-sysdeps-util.c <!HAVE_POSIX_GETPWNAM_R>: Fix
	compilation error.


Index: dbus-sysdeps-util.c
===================================================================
RCS file: /cvs/dbus/dbus/dbus/dbus-sysdeps-util.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- dbus-sysdeps-util.c	8 May 2005 15:41:39 -0000	1.3
+++ dbus-sysdeps-util.c	11 May 2005 17:59:46 -0000	1.4
@@ -607,7 +607,7 @@
       result = getgrgid_r (gid, &g_str, buf, sizeof (buf),
                            &g);
 #else
-    p = getgrnam_r (group_c_str, &g_str, buf, sizeof (buf));
+    g = getgrnam_r (group_c_str, &g_str, buf, sizeof (buf));
     result = 0;
 #endif /* !HAVE_POSIX_GETPWNAM_R */
     if (result == 0 && g == &g_str)



More information about the dbus-commit mailing list