diff options
| author | Ken Raeburn <raeburn@mit.edu> | 2004-10-18 23:14:51 +0000 |
|---|---|---|
| committer | Ken Raeburn <raeburn@mit.edu> | 2004-10-18 23:14:51 +0000 |
| commit | fb8314743c17c15ebcfcebee3565069079a819fc (patch) | |
| tree | 55f0b504462f595df9414882a9140036b361bbf2 /src/util/profile/ChangeLog | |
| parent | 32e9f9545401a17df3443a8e2969d6f84b29e74a (diff) | |
| download | krb5-fb8314743c17c15ebcfcebee3565069079a819fc.tar.gz krb5-fb8314743c17c15ebcfcebee3565069079a819fc.tar.xz krb5-fb8314743c17c15ebcfcebee3565069079a819fc.zip | |
Allow profile library caller to write the modified data to a different
file than was originally read.
* prof_file.c (write_data_to_file): New function, split out from
profile_flush_file_data. Add argument can_create indicating whether the old
file should already exist or not.
(profile_flush_file_data): Call it.
(profile_flush_file_data_to_file): New function.
* prof_int.h (profile_flush_file_data_to_file): Declare it.
(profile_flush_file_to_file): New macro.
* prof_init.c (profile_flush_to_file): New function.
* profile.hin (profile_flush_to_file): Declare.
* profile.swg (profile_flush_to_file): Declare.
* profile_tcl.c: Regenerated.
* prof_test1: Use profile_flush_to_file instead of profile_flush, and reload
from the new filename.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16825 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/util/profile/ChangeLog')
| -rw-r--r-- | src/util/profile/ChangeLog | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/util/profile/ChangeLog b/src/util/profile/ChangeLog index 54533de88..3ebbb45b9 100644 --- a/src/util/profile/ChangeLog +++ b/src/util/profile/ChangeLog @@ -1,3 +1,19 @@ +2004-10-18 Ken Raeburn <raeburn@mit.edu> + + * prof_file.c (write_data_to_file): New function, split out from + profile_flush_file_data. Add argument can_create indicating + whether the old file should already exist or not. + (profile_flush_file_data): Call it. + (profile_flush_file_data_to_file): New function. + * prof_int.h (profile_flush_file_data_to_file): Declare it. + (profile_flush_file_to_file): New macro. + * prof_init.c (profile_flush_to_file): New function. + * profile.hin (profile_flush_to_file): Declare. + * profile.swg (profile_flush_to_file): Declare. + * profile_tcl.c: Regenerated. + * prof_test1: Use profile_flush_to_file instead of profile_flush, + and reload from the new filename. + 2004-10-15 Ken Raeburn <raeburn@mit.edu> * prof_file.c, prof_int.h, prof_set.c: Remove support for |
