mirror of
https://git.freebsd.org/ports.git
synced 2025-06-10 07:10:32 -04:00
Changelog: https://chromium.googlesource.com/chromium/src/+log/75.0.3770.142..76.0.3809.100?pretty=fuller&n=10000 Submitted by: Matthias Wolf <matthias@rheinwolf.de> MFH: 2019Q3
11 lines
600 B
C++
11 lines
600 B
C++
--- base/files/scoped_file.cc.orig 2019-07-29 18:17:43 UTC
|
|
+++ base/files/scoped_file.cc
|
|
@@ -30,7 +30,7 @@ void ScopedFDCloseTraits::Free(int fd) {
|
|
// a single open directory would bypass the entire security model.
|
|
int ret = IGNORE_EINTR(close(fd));
|
|
|
|
-#if defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_FUCHSIA) || \
|
|
+#if defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_FUCHSIA) || defined(OS_BSD) || \
|
|
defined(OS_ANDROID)
|
|
// NB: Some file descriptors can return errors from close() e.g. network
|
|
// filesystems such as NFS and Linux input devices. On Linux, macOS, and
|