]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
* dbus/dbus-sysdeps-util-unix.c (dirent_buf_size): Add check for
authorJohn (J5) Palmieri <johnp@redhat.com>
Mon, 2 Oct 2006 15:43:48 +0000 (15:43 +0000)
committerJohn (J5) Palmieri <johnp@redhat.com>
Mon, 2 Oct 2006 15:43:48 +0000 (15:43 +0000)
  MAXNAMELEN for Mac OSX.  (Patch from Jonas B <sanoix at gmail dot com>)

ChangeLog
dbus/dbus-sysdeps-util-unix.c

index 99782bba5339ddf671d75efe23d680557785d9de..ae36099131d34712927af6ebdc2251e4c6dd4526 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-10-02  John (J5) Palmieir  <johnp@redhat.com>
+
+       * 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>)
+
 2006-10-02  Thiago Macieira  <thiago@kde.org>
 
        * tools/dbus-launch.c (main): make it complain and abort
index ba00f462b85f9ac85c9f650d3e1d6aafa38602c4..98c8992b8ab249d07cf40ebb4930348f4ecbf995 100644 (file)
@@ -516,6 +516,8 @@ dirent_buf_size(DIR * dirp, size_t *size)
 #           else
             return FALSE;
 #           endif
+#   elif defined(MAXNAMELEN)
+     name_max = MAXNAMELEN;
 #   else
 #       if defined(NAME_MAX)
         name_max = NAME_MAX;