1 --- src/3rdparty/chromium/base/files/scoped_file.cc.orig	2025-08-15 18:30:00 UTC
2 +++ src/3rdparty/chromium/base/files/scoped_file.cc
3 @@ -32,7 +32,7 @@ void ScopedFDCloseTraits::Free(int fd) {
4    int ret = IGNORE_EINTR(close(fd));
5 
6  #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_APPLE) || \
7 -    BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_ANDROID)
8 +    BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
9    // NB: Some file descriptors can return errors from close() e.g. network
10    // filesystems such as NFS and Linux input devices. On Linux, macOS, and
11    // Fuchsia's POSIX layer, errors from close other than EBADF do not indicate
12