mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-30 10:29:02 +08:00

Using the SPDLOG_PREVENT_CHILD_FD option there where still a race when a other thread was using fork and exec in between the call to fopen and fcntl. Using open and O_CLOEXEC when possible prevents this race. I have no idea if this problem exists on Windows.