]> git.sesse.net Git - cubemap/commit
Fix O_TMPFILE usage.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 24 Apr 2014 22:51:13 +0000 (00:51 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 24 Apr 2014 22:51:13 +0000 (00:51 +0200)
commita62559752c638a722ec42c707d8d36fa6ff71035
treec30a388d895da2fdd6295fba2767be7e076081af
parent8a2935dc58b00839acc493b4d146042d22a9793c
Fix O_TMPFILE usage.

Seemingly open() needs to take a pathname only, not a full filename.
This made us _always_ go into the mkstemp() path, which was of course
not the intention.
util.cpp