diff options
| author | Miro Jurisic <meeroh@mit.edu> | 1999-06-09 14:52:29 +0000 |
|---|---|---|
| committer | Miro Jurisic <meeroh@mit.edu> | 1999-06-09 14:52:29 +0000 |
| commit | 98582314d1f9e044d44b7b01f8fdd220a5e72e65 (patch) | |
| tree | 36b4253472bf1cdc0e8f59abe242ef5d92d4debd /src/util | |
| parent | 7249a2b5ccea7ee25e3e767769a9ed8ae10d4393 (diff) | |
Merged changed from Mac_V2_0_derivatives branch
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11499 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/util')
| -rw-r--r-- | src/util/profile/ChangeLog | 6 | ||||
| -rw-r--r-- | src/util/profile/prof_file.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/util/profile/ChangeLog b/src/util/profile/ChangeLog index e9917c633..02dd1c8ce 100644 --- a/src/util/profile/ChangeLog +++ b/src/util/profile/ChangeLog @@ -1,3 +1,9 @@ +1999-06-09 Miro Jurisic <meeroh@mit.edu> + + * prof_file.c (profile_update_file): if fopen fails and errno is 0, set + errno to ENOENT so that we can try multiple names for settings file + (From Chas Williams) + Wed May 19 11:46:02 1999 Danilo Almeida <dalmeida@mit.edu> * Makefile.in: Add windows build rules for putting header files in diff --git a/src/util/profile/prof_file.c b/src/util/profile/prof_file.c index 0f1ac658f..8606bf79e 100644 --- a/src/util/profile/prof_file.c +++ b/src/util/profile/prof_file.c @@ -130,7 +130,7 @@ errcode_t profile_update_file(prf) if (f == NULL) { retval = errno; if (retval == 0) - retval = PROF_FAIL_OPEN; + retval = ENOENT; return retval; } prf->upd_serial++; |
