diff options
| author | Robert Nagy <robert@openbsd.org> | 2022-05-19 14:34:10 +0000 |
|---|---|---|
| committer | Rene Ladan <rene@FreeBSD.org> | 2022-05-24 19:51:52 +0000 |
| commit | 6dc209ad0a874c8fbc80859c217ecea69f6b0ade (patch) | |
| tree | 5cc4e048c366844c7bc17e9a6bdebeab1e212521 /www/chromium/files/patch-base_linux__util.cc | |
| parent | 2a994d8766008f1a2b7d1f4e681b5fd5dae07b48 (diff) | |
Diffstat (limited to 'www/chromium/files/patch-base_linux__util.cc')
| -rw-r--r-- | www/chromium/files/patch-base_linux__util.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/www/chromium/files/patch-base_linux__util.cc b/www/chromium/files/patch-base_linux__util.cc index 853eb881f872..1f949df12ab0 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 2022-02-07 13:39:41 UTC +--- base/linux_util.cc.orig 2022-05-19 14:06:27 UTC +++ base/linux_util.cc @@ -15,6 +15,7 @@ @@ -6,9 +6,9 @@ #include <memory> +#include <sstream> + #include "base/base_export.h" #include "base/files/dir_reader_posix.h" - #include "base/files/file_util.h" -@@ -134,6 +135,9 @@ void SetLinuxDistro(const std::string& distro) { +@@ -135,6 +136,9 @@ void SetLinuxDistro(const std::string& distro) { } bool GetThreadsForProcess(pid_t pid, std::vector<pid_t>* tids) { @@ -18,7 +18,7 @@ // 25 > strlen("/proc//task") + strlen(std::to_string(INT_MAX)) + 1 = 22 char buf[25]; strings::SafeSPrintf(buf, "/proc/%d/task", pid); -@@ -153,6 +157,7 @@ bool GetThreadsForProcess(pid_t pid, std::vector<pid_t +@@ -154,6 +158,7 @@ bool GetThreadsForProcess(pid_t pid, std::vector<pid_t } return true; |
