test_profile.c: Added ability to test profile set functions, and in a
authorTheodore Tso <tytso@mit.edu>
Wed, 3 Mar 1999 04:56:15 +0000 (04:56 +0000)
committerTheodore Tso <tytso@mit.edu>
Wed, 3 Mar 1999 04:56:15 +0000 (04:56 +0000)
commit04df12f7fcb6663231290cbba39f7d4d2db99d0c
tree7e64b9482fdb51b0f7d084c64254ab282de6051c
parentc04da8d90f3548ea66b5968e9a13fcc4a3f7c01f
test_profile.c: Added ability to test profile set functions, and in a
batch mode.

prof_init.c (profile_flush): Add new public function for flushing
changes made to the profile.

prof_parse.c (profile_write_tree_file): Add official internal function
for flushing out a profile tree to a FILE *.

configure.in, prof_file.c (rw_access): Add new function which checks
to see whether we have read/write access, and emulate this for losing
non-POSIX OS's.

prof_file.c (profile_flush_file): Add support for writing modified
profile file's.  Call profile_flush_file from profile_close_file().

Also fixed minor bugs in prof_tree.c which affected renaming sections and
modifying existing relations.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11237 dc483132-0cff-0310-8789-dd5450dbe970
14 files changed:
src/util/profile/ChangeLog
src/util/profile/Makefile.in
src/util/profile/argv_parse.c [new file with mode: 0644]
src/util/profile/argv_parse.h [new file with mode: 0644]
src/util/profile/configure.in
src/util/profile/krb5.conf
src/util/profile/prof_file.c
src/util/profile/prof_init.c
src/util/profile/prof_int.h
src/util/profile/prof_parse.c
src/util/profile/prof_tree.c
src/util/profile/profile.hin
src/util/profile/test_parse.c
src/util/profile/test_profile.c