diff options
author | Ben Kaduk <kaduk@mit.edu> | 2012-07-18 10:05:33 -0400 |
---|---|---|
committer | Ben Kaduk <kaduk@mit.edu> | 2013-11-04 13:42:32 -0500 |
commit | f7e434aa7ecb05a6ade5e3d4a435d25069acd5b2 (patch) | |
tree | 78baff77bde026e5991bc46b61e12daf0af511eb /src/tests | |
parent | 51b5cef8387da33c2a61e5ebbf69a8702eece1d5 (diff) | |
download | krb5-f7e434aa7ecb05a6ade5e3d4a435d25069acd5b2.zip krb5-f7e434aa7ecb05a6ade5e3d4a435d25069acd5b2.tar.gz krb5-f7e434aa7ecb05a6ade5e3d4a435d25069acd5b2.tar.bz2 |
Clean up stash file error handling
The comment previously failed to match the behavior. The intent was
that if we failed to write out the entire stash file into the
temporary location, we should remove the partial file. However, the
code was actually checking whether the *real* stash file existed,
not whether the temporary one existed.
It is safe to always try to unlink the partial file, and not worry
about whether it already exists.
Diffstat (limited to 'src/tests')
0 files changed, 0 insertions, 0 deletions