diff options
author | David Kalnischkies <david@kalnischkies.de> | 2014-04-11 11:22:10 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2014-04-11 11:22:10 +0200 |
commit | 230e69d718f761a39ee3ee057938dcd0264af74f (patch) | |
tree | b88edd6584609cb63343d78c74c9dbda29c089fa /apt-pkg/packagemanager.cc | |
parent | 21ba8115c873ae4085770e4bf0bed765e0e099a6 (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 'apt-pkg/packagemanager.cc')
0 files changed, 0 insertions, 0 deletions