fileops.c
25.2 KB
-
git_futils: don't O_EXCL and O_TRUNC · 4a26915d
`O_EXCL` and `O_TRUNC` are mutually exclusive flags to open(2); you can't truncate a file if you're asserting that it can't exist in the first place. Drop `O_TRUNC`.
Edward Thomson committed