Try to do atomic file swap on UNIX when updating profile
authorKen Raeburn <raeburn@mit.edu>
Thu, 9 Jan 2003 00:20:20 +0000 (00:20 +0000)
committerKen Raeburn <raeburn@mit.edu>
Thu, 9 Jan 2003 00:20:20 +0000 (00:20 +0000)
commit990d918736af2612c82e8e9191e19721523f28ff
treee27a52b80664bf64914aeb9176ebb263b0b874cb
parente27712f995136503de95b9f48d97f526b48a465e
Try to do atomic file swap on UNIX when updating profile

* prof_file.c (make_hard_link): New function.
(profile_flush_file_data): Use it to attempt a safe profile file replacement.

ticket: 1301
status: open

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15101 dc483132-0cff-0310-8789-dd5450dbe970
src/util/profile/ChangeLog
src/util/profile/prof_file.c