prof_file.c (profile_flush_file): On the Macintosh, fopen() doesn't
authorTheodore Tso <tytso@mit.edu>
Wed, 3 Mar 1999 23:25:33 +0000 (23:25 +0000)
committerTheodore Tso <tytso@mit.edu>
Wed, 3 Mar 1999 23:25:33 +0000 (23:25 +0000)
commitb1fd0ffe7fb3566e062f9730216a29cdf3cca6db
tree23addadd3cfcc8babcb58d802be87fb8ab344725
parent04df12f7fcb6663231290cbba39f7d4d2db99d0c
prof_file.c (profile_flush_file): On the Macintosh, fopen() doesn't
set errno when fopen fails to open a file.  Work around this by
setting errno to PROF_FAIL_OPEN in this case.

prof_err.et: Add new error code PROF_FAIL_OPEN.

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