mirror of
https://github.com/fmtlib/fmt.git
synced 2025-03-14 04:18:45 +00:00
The previous fix for this in 4a85db1 was incomplete. The intent was to mimic what `fopen()` is doing. As per standard[1] `fopen()` also sets `S_IWGRP` and `S_IWOTH` and lets the umask handle the rest. [1] https://pubs.opengroup.org/onlinepubs/9699919799.2018edition/functions/fopen.html