Date: Fri, 14 May 2021 19:08:56 +0000 From: bugzilla-noreply@freebsd.org To: desktop@FreeBSD.org Subject: [Bug 240549] devel/dbus: Loops over all possible file descriptors (Use closefrom(2)) Message-ID: <bug-240549-39348-ObU4SXsfWl@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-240549-39348@https.bugs.freebsd.org/bugzilla/> References: <bug-240549-39348@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240549 --- Comment #5 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3Daee4556063e8770fd0e4fd28a29f306= 26d6e235a commit aee4556063e8770fd0e4fd28a29f30626d6e235a Author: Adriaan de Groot <adridg@FreeBSD.org> AuthorDate: 2021-05-13 22:57:15 +0000 Commit: Adriaan de Groot <adridg@FreeBSD.org> CommitDate: 2021-05-14 19:08:18 +0000 devel/dbus: use closefrom() Don't do 1021 calls to close() when a single closefrom() will do. This patch has been submitted upstream (by the reporter) but is languishing there; there's a big difference between upstream's development branch and the released stable version. I've taken the initial patch from FreeBSD bugzilla, lightly mutated it with upstream work. PR: 240549 Reported by: rozhuk.im@gmail.com devel/dbus/Makefile | 2 +- .../files/patch-cmake_ConfigureChecks.cmake (new) | 10 ++++++++++ devel/dbus/files/patch-cmake_config.h.cmake (new) | 12 ++++++++++++ .../dbus/files/patch-dbus_dbus-sysdeps-unix.c (new) | 21 +++++++++++++++++= ++++ 4 files changed, 44 insertions(+), 1 deletion(-) --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-240549-39348-ObU4SXsfWl>