summaryrefslogtreecommitdiff
path: root/vendor
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2014-04-11 11:22:10 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2014-04-11 11:22:10 +0200
commit230e69d718f761a39ee3ee057938dcd0264af74f (patch)
treeb88edd6584609cb63343d78c74c9dbda29c089fa /vendor
parent21ba8115c873ae4085770e4bf0bed765e0e099a6 (diff)
deal with umask only if we really need to for mkstemp
As the comment actually says: open() does the umask dance by itself, so we don't need to do it for it. We have to do it after mkstemp in Atomic though, so move it into the if. Also removes the "micro-optimisation" "FilePermissions == 600" as it doesn't trigger at the moment anyway as 600 != 0600.
Diffstat (limited to 'vendor')
0 files changed, 0 insertions, 0 deletions