Set umask explicitly before calling mkstemp().
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 24 Apr 2014 22:49:51 +0000 (00:49 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 24 Apr 2014 22:49:51 +0000 (00:49 +0200)
commit8a2935dc58b00839acc493b4d146042d22a9793c
tree37923ad69ea7eefefb45bd1d982d3d764c24968d
parent98b8cb22fe22f6a8b46a47cd5fa00dcf2bcd6fd5
Set umask explicitly before calling mkstemp().

For the benefit of super-old glibc versions (pre-2.06).

Found by Coverity Scan.
util.cpp