> This seems to be droppign the small mkstemp optimization makign use of its > FD return result as the already open file. > > I think we should be calling umask() before before the whole #if segment and > reset it on each of "return" as well as on successful completion.
Hi,
v2 of the patch, which does as you suggest (and removes a few useless
empty lines).
--
/kinkie
coverity-740457-v2.patch
Description: Binary data
