]> git.sesse.net Git - cubemap/commit
Use the new-in-3.11 O_TMPFILE flag when available.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 8 Sep 2013 16:47:41 +0000 (18:47 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 8 Sep 2013 16:47:41 +0000 (18:47 +0200)
commitdb58dd9934afbb1fe93e6d6d408335f4ed35afab
tree76b47f2b267848d5b31fc642dcf500bfb54b8e36
parent9b8129d05b5d1ec0caed09a40f170e967afc60b3
Use the new-in-3.11 O_TMPFILE flag when available.

Also, we don't need to mess around with umask in the fallback case,
since 0600 is default for mkstemp() anyway.
util.cpp