summaryrefslogtreecommitdiff
path: root/mail/thunderbird17/patches/patch-mozilla_ipc_chromium_src_base_process__util__posix.cc
diff options
context:
space:
mode:
Diffstat (limited to 'mail/thunderbird17/patches/patch-mozilla_ipc_chromium_src_base_process__util__posix.cc')
-rw-r--r--mail/thunderbird17/patches/patch-mozilla_ipc_chromium_src_base_process__util__posix.cc25
1 files changed, 0 insertions, 25 deletions
diff --git a/mail/thunderbird17/patches/patch-mozilla_ipc_chromium_src_base_process__util__posix.cc b/mail/thunderbird17/patches/patch-mozilla_ipc_chromium_src_base_process__util__posix.cc
deleted file mode 100644
index bb77749813b..00000000000
--- a/mail/thunderbird17/patches/patch-mozilla_ipc_chromium_src_base_process__util__posix.cc
+++ /dev/null
@@ -1,25 +0,0 @@
-$NetBSD: patch-mozilla_ipc_chromium_src_base_process__util__posix.cc,v 1.1 2013/11/13 13:27:45 ryoon Exp $
-
---- mozilla/ipc/chromium/src/base/process_util_posix.cc.orig 2012-08-25 00:31:11.000000000 +0000
-+++ mozilla/ipc/chromium/src/base/process_util_posix.cc
-@@ -116,6 +116,11 @@ void CloseSuperfluousFds(const base::Inj
- #elif defined(OS_MACOSX)
- static const rlim_t kSystemDefaultMaxFds = 256;
- static const char kFDDir[] = "/dev/fd";
-+#elif defined(OS_BSD)
-+ // the getrlimit below should never fail, so whatever ..
-+ static const rlim_t kSystemDefaultMaxFds = 1024;
-+ // at least /dev/fd will exist
-+ static const char kFDDir[] = "/dev/fd";
- #endif
-
- // Get the maximum number of FDs possible.
-@@ -199,7 +204,7 @@ void CloseSuperfluousFds(const base::Inj
- void SetAllFDsToCloseOnExec() {
- #if defined(OS_LINUX)
- const char fd_dir[] = "/proc/self/fd";
--#elif defined(OS_MACOSX)
-+#elif defined(OS_MACOSX) || defined(OS_BSD)
- const char fd_dir[] = "/dev/fd";
- #endif
- ScopedDIR dir_closer(opendir(fd_dir));