mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 14:20:33 -04:00
Changelog: https://chromium.googlesource.com/chromium/src/+log/74.0.3729.169..75.0.3770.80?pretty=fuller&n=10000 Submitted by: Matthias Wolf <matthias@rheinwolf.de>
11 lines
366 B
C++
11 lines
366 B
C++
--- base/files/file_util_posix.cc.orig 2019-06-04 18:55:15 UTC
|
|
+++ base/files/file_util_posix.cc
|
|
@@ -419,7 +419,7 @@ bool CreatePipe(ScopedFD* read_fd, ScopedFD* write_fd,
|
|
}
|
|
|
|
bool CreateLocalNonBlockingPipe(int fds[2]) {
|
|
-#if defined(OS_LINUX)
|
|
+#if defined(OS_LINUX) || defined(OS_BSD)
|
|
return pipe2(fds, O_CLOEXEC | O_NONBLOCK) == 0;
|
|
#else
|
|
int raw_fds[2];
|