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. To generate a diff of this commit: cvs diff -r1.124 -r1.125 krb5/src/util/profile/ChangeLog cvs diff -r1.27 -r1.28 krb5/src/util/profile/prof_file.c