back-port r19749 from trunk
authorTom Yu <tlyu@mit.edu>
Sat, 4 Aug 2007 00:05:21 +0000 (00:05 +0000)
committerTom Yu <tlyu@mit.edu>
Sat, 4 Aug 2007 00:05:21 +0000 (00:05 +0000)
commite9cd245973400b80f4d3d6935d57138b981d5109
treec6ac35e692943574af1debe6b36081320748ee43
parent2bdf72ace436d85fda04473b10676e5f7b1a9e36
back-port r19749 from trunk

 If mkstemp() is available, the new ccache file gets created but the
 subsequent open(O_CREAT|O_EXCL) call fails because the file was
 already created by mkstemp().  Apply patch from Apple to keep the file
 descriptor open.

ticket: 5624
version_fixed: 1.6.3

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-6@19750 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/ccache/cc_file.c