Differential D38165 Diff 118368 www/qt5-webengine/files/patch-src_3rdparty_chromium_base_files_scoped__file.cc
Changeset View
Changeset View
Standalone View
Standalone View
www/qt5-webengine/files/patch-src_3rdparty_chromium_base_files_scoped__file.cc
--- src/3rdparty/chromium/base/files/scoped_file.cc.orig 2019-11-27 21:12:25 UTC | --- src/3rdparty/chromium/base/files/scoped_file.cc.orig 2021-12-15 16:12:54 UTC | ||||
+++ src/3rdparty/chromium/base/files/scoped_file.cc | +++ src/3rdparty/chromium/base/files/scoped_file.cc | ||||
@@ -30,7 +30,7 @@ void ScopedFDCloseTraits::Free(int fd) { | @@ -30,7 +30,7 @@ void ScopedFDCloseTraits::Free(int fd) { | ||||
// a single open directory would bypass the entire security model. | // a single open directory would bypass the entire security model. | ||||
int ret = IGNORE_EINTR(close(fd)); | int ret = IGNORE_EINTR(close(fd)); | ||||
-#if defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_FUCHSIA) || \ | -#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_APPLE) || \ | ||||
+#if defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_FUCHSIA) || defined(OS_BSD) || \ | +#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD) || defined(OS_APPLE) || \ | ||||
defined(OS_ANDROID) | defined(OS_FUCHSIA) || defined(OS_ANDROID) | ||||
// NB: Some file descriptors can return errors from close() e.g. network | // NB: Some file descriptors can return errors from close() e.g. network | ||||
// filesystems such as NFS and Linux input devices. On Linux, macOS, and | // filesystems such as NFS and Linux input devices. On Linux, macOS, and |