View | Details | Raw Unified | Return to bug 240549 | Differences between
and this patch

Collapse All | Expand All

(-)devel/dbus/files/patch-dbus_dbus-sysdeps-unix.c (+14 lines)
Line 0 Link Here
1
--- dbus/dbus-sysdeps-unix.c.bak	2018-08-02 19:13:02.000000000 +0300
2
+++ dbus/dbus-sysdeps-unix.c	2019-09-13 02:55:41.904210000 +0300
3
@@ -4479,6 +4479,11 @@
4
     }
5
 #endif
6
 
7
+#if defined(HAVE_CLOSEFROM) || defined(__FreeBSD__)
8
+  closefrom(3);
9
+  return;
10
+#endif
11
+
12
   maxfds = sysconf (_SC_OPEN_MAX);
13
 
14
   /* Pick something reasonable if for some reason sysconf says

Return to bug 240549