diff options
Diffstat (limited to 'www/chromium/files/patch-base_linux__util.cc')
-rw-r--r-- | www/chromium/files/patch-base_linux__util.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/www/chromium/files/patch-base_linux__util.cc b/www/chromium/files/patch-base_linux__util.cc index 4927724361f5..12d3c80af7dc 100644 --- a/www/chromium/files/patch-base_linux__util.cc +++ b/www/chromium/files/patch-base_linux__util.cc @@ -1,4 +1,4 @@ ---- base/linux_util.cc.orig 2024-05-21 18:07:39 UTC +--- base/linux_util.cc.orig 2025-01-15 09:18:26 UTC +++ base/linux_util.cc @@ -154,10 +154,14 @@ void SetLinuxDistro(const std::string& distro) { } @@ -7,7 +7,7 @@ +#if BUILDFLAG(IS_BSD) + return false; +#else - // 25 > strlen("/proc//task") + strlen(std::to_string(INT_MAX)) + 1 = 22 + // 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); |