diff options
Diffstat (limited to 'devel/electron35/files/patch-base_linux__util.cc')
| -rw-r--r-- | devel/electron35/files/patch-base_linux__util.cc | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/devel/electron35/files/patch-base_linux__util.cc b/devel/electron35/files/patch-base_linux__util.cc deleted file mode 100644 index c754afafa709..000000000000 --- a/devel/electron35/files/patch-base_linux__util.cc +++ /dev/null @@ -1,17 +0,0 @@ ---- base/linux_util.cc.orig 2025-03-24 20:50:14 UTC -+++ base/linux_util.cc -@@ -164,10 +164,14 @@ bool GetThreadsForProcess(pid_t pid, std::vector<pid_t - } - - bool GetThreadsForProcess(pid_t pid, std::vector<pid_t>* tids) { -+#if BUILDFLAG(IS_BSD) -+ return false; -+#else - // 25 > strlen("/proc//task") + strlen(base::NumberToString(INT_MAX)) + 1 = 22 - char buf[25]; - strings::SafeSPrintf(buf, "/proc/%d/task", pid); - return GetThreadsFromProcessDir(buf, tids); -+#endif - } - - bool GetThreadsForCurrentProcess(std::vector<pid_t>* tids) { |
