dbus/dbus dbus-sysdeps-util-unix.c,1.8,1.9

John Palmieri johnp at kemper.freedesktop.org
Mon Oct 2 08:43:50 PDT 2006


Update of /cvs/dbus/dbus/dbus
In directory kemper:/tmp/cvs-serv24048/dbus

Modified Files:
	dbus-sysdeps-util-unix.c 
Log Message:
* dbus/dbus-sysdeps-util-unix.c (dirent_buf_size): Add check for
  MAXNAMELEN for Mac OSX.  (Patch from Jonas B <sanoix at gmail dot com>)


Index: dbus-sysdeps-util-unix.c
===================================================================
RCS file: /cvs/dbus/dbus/dbus/dbus-sysdeps-util-unix.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- dbus-sysdeps-util-unix.c	18 Sep 2006 17:17:41 -0000	1.8
+++ dbus-sysdeps-util-unix.c	2 Oct 2006 15:43:48 -0000	1.9
@@ -516,6 +516,8 @@
 #           else
 	     return FALSE;
 #           endif
+#   elif defined(MAXNAMELEN)
+     name_max = MAXNAMELEN;
 #   else
 #       if defined(NAME_MAX)
 	 name_max = NAME_MAX;



More information about the dbus-commit mailing list