[libcxx-commits] [PATCH] D59839: Open fstream files in O_CLOEXEC mode when possible.

Shoaib Meenai via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Apr 1 13:47:00 PDT 2019


smeenai added inline comments.


================
Comment at: libcxx/include/__config:1464
+// do.
+#if _LIBCPP_GLIBC_PREREQ(2, 7) || defined(__BIONIC__)
+#  define _LIBCPP_FOPEN_CLOEXEC_MODE "e"
----------------
To be clear, the plan is to limit this to Bionic and drop the glibc part, correct?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D59839/new/

https://reviews.llvm.org/D59839





More information about the libcxx-commits mailing list