Use mkstemp(), and fstat() the file to make sure that the mkstemp()
authorTom Yu <tlyu@mit.edu>
Fri, 18 Jul 2008 18:59:47 +0000 (18:59 +0000)
committerTom Yu <tlyu@mit.edu>
Fri, 18 Jul 2008 18:59:47 +0000 (18:59 +0000)
commita414267ddf4d3ef731b895b79197cf71bb2fdd12
tree75fb51ca4cc5952983bd37bbd9990a9033dbd4b9
parente9c40f238840455ea74eed397967ff16f0ba3930
Use mkstemp(), and fstat() the file to make sure that the mkstemp()
implementation is setting sane file modes.

ticket: 6002

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20543 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/rcache/rc_io.c