Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix access mode of files created (fmtlib#2530)
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
- Loading branch information