components/desktop/dbus/patches/dbus-02-closefrom.patch
changeset 5888 09b82e3ff500
equal deleted inserted replaced
5887:67654f7c51e7 5888:09b82e3ff500
       
     1 Patch migrated from Desktop, where it was listed as:
       
     2 # date:2010-08-16 owner:padraig type:bug doo:16787
       
     3 
       
     4 possibly suitable for upstream
       
     5 
       
     6 --- dbus-1.6.0/dbus/dbus-sysdeps-unix.c-orig	2012-06-05 06:33:44.620328189 -0500
       
     7 +++ dbus-1.6.0/dbus/dbus-sysdeps-unix.c	2012-06-05 06:34:40.948758620 -0500
       
     8 @@ -4030,6 +4030,10 @@ _dbus_close_all (void)
       
     9  {
       
    10    int maxfds, i;
       
    11  
       
    12 +#if HAVE_CLOSEFROM
       
    13 +      closefrom(3);
       
    14 +#endif
       
    15 +
       
    16  #ifdef __linux__
       
    17    DIR *d;
       
    18