From: Alexandra Ellwood Date: Thu, 4 Nov 2004 19:18:23 +0000 (+0000) Subject: * prof_set.c: profile calls which set values should not fail if file is not writable... X-Git-Tag: ms-bug-test-20060525~471 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c50f8f5cc7f64bd5c6b39ae025a762958a760640;p=krb5.git * prof_set.c: profile calls which set values should not fail if file is not writable. You can now write to a different file with profile_flush_to_file() or buffer with profile_flush_to_buffer() ticket: 2750 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16858 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/util/profile/ChangeLog b/src/util/profile/ChangeLog index 79a263f95..1a28ddd96 100644 --- a/src/util/profile/ChangeLog +++ b/src/util/profile/ChangeLog @@ -1,3 +1,10 @@ +2004-11-04 Alexandra Ellwood + + * prof_set.c: profile calls which set values should not fail + if file is not writable. You can now write to a different + file with profile_flush_to_file() or buffer with + profile_flush_to_buffer(). + 2004-10-30 Ken Raeburn * prof_int.h (STAT_ONCE_PER_SECOND): Define. diff --git a/src/util/profile/prof_set.c b/src/util/profile/prof_set.c index 67274c23f..85f228630 100644 --- a/src/util/profile/prof_set.c +++ b/src/util/profile/prof_set.c @@ -33,9 +33,6 @@ static errcode_t rw_setup(profile_t profile) file = profile->first_file; - if (!(file->data->flags & PROFILE_FILE_RW)) - return PROF_READ_ONLY; - retval = profile_lock_global(); if (retval) return retval;