https://bugs.kde.org/show_bug.cgi?id=449114

Ahmad Samir <a.samir...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/kdesu/commit/1b62771
                   |                            |816c4bf91d3aa178a991ecaee54
                   |                            |4e181c
             Status|REPORTED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Ahmad Samir <a.samir...@gmail.com> ---
Git commit 1b62771816c4bf91d3aa178a991ecaee544e181c by Ahmad Samir.
Committed on 31/01/2022 at 12:21.
Pushed by fvogt into branch 'master'.

Fix build on glibc < 2.34

The close_range function was added in glibc in version 2.34; for older
versions use syscall(SYS_close_range.....).

Also since close_range was first avaiable in Kernel 5.9, for older kernels
fallback to iterating over /proc/self/fd/ and closing the fd's manually
(using opendir/closedir/readdir as suggested by Fabian Vogt).

M  +2    -0    src/kdesud/CMakeLists.txt
M  +2    -0    src/kdesud/config-kdesud.h.cmake
M  +59   -5    src/kdesud/kdesud.cpp

https://invent.kde.org/frameworks/kdesu/commit/1b62771816c4bf91d3aa178a991ecaee544e181c

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to