update to 124.0.6367.207
This commit is contained in:
parent
687f3acd55
commit
fe9bc9d89b
958 changed files with 7372 additions and 6231 deletions
|
@ -9,7 +9,7 @@ Index: base/base_paths_posix.cc
|
|||
#include "base/environment.h"
|
||||
#include "base/files/file_path.h"
|
||||
#include "base/files/file_util.h"
|
||||
@@ -25,9 +26,13 @@
|
||||
@@ -26,9 +27,13 @@
|
||||
#include "base/process/process_metrics.h"
|
||||
#include "build/build_config.h"
|
||||
|
||||
|
@ -24,7 +24,17 @@ Index: base/base_paths_posix.cc
|
|||
#elif BUILDFLAG(IS_SOLARIS) || BUILDFLAG(IS_AIX)
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
@@ -68,13 +73,65 @@ bool PathProviderPosix(int key, FilePath* result) {
|
||||
@@ -48,8 +53,7 @@ bool PathProviderPosix(int key, FilePath* result) {
|
||||
*result = bin_dir;
|
||||
return true;
|
||||
#elif BUILDFLAG(IS_FREEBSD)
|
||||
- int name[] = { CTL_KERN, KERN_PROC, KERN_PROC_PATHNAME, -1 };
|
||||
- std::optional<std::string> bin_dir = StringSysctl(name, std::size(name));
|
||||
+ std::optional<std::string> bin_dir = StringSysctl({ CTL_KERN, KERN_PROC, KERN_PROC_PATHNAME, -1 });
|
||||
if (!bin_dir.has_value() || bin_dir.value().length() <= 1) {
|
||||
NOTREACHED() << "Unable to resolve path.";
|
||||
return false;
|
||||
@@ -65,13 +69,65 @@ bool PathProviderPosix(int key, FilePath* result) {
|
||||
*result = FilePath(bin_dir);
|
||||
return true;
|
||||
#elif BUILDFLAG(IS_OPENBSD) || BUILDFLAG(IS_AIX)
|
||||
|
@ -64,7 +74,7 @@ Index: base/base_paths_posix.cc
|
|||
+ goto out;
|
||||
+ }
|
||||
+
|
||||
+ if ((kd = kvm_openfiles(NULL, NULL, NULL, KVM_NO_FILES, errbuf)) == NULL)
|
||||
+ if ((kd = kvm_openfiles(NULL, NULL, NULL, (int)KVM_NO_FILES, errbuf)) == NULL)
|
||||
+ goto out;
|
||||
+
|
||||
+ if ((files = kvm_getfiles(kd, KERN_FILE_BYPID, cpid,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue