pull up r18209 from trunk
authorTom Yu <tlyu@mit.edu>
Mon, 26 Jun 2006 20:57:14 +0000 (20:57 +0000)
committerTom Yu <tlyu@mit.edu>
Mon, 26 Jun 2006 20:57:14 +0000 (20:57 +0000)
commit2e774cdfa927f332c7973c3f466bb85374753e32
tree0eb11e6cbb734bae7e0eef85506c647462a61a34
parent6a43f79bf0c235fc49d2e20d43d0c66b0bb8a37d
pull up r18209 from trunk

 r18209@cathode-dark-space:  raeburn | 2006-06-23 22:39:52 -0400
 ticket: 3925

 Fix krb5_get_profile to create a new profile duplicating the list of
 files from the one in the provided context, instead of constructing
 and checking the file list from scratch.  Uses a new function in the
 profile library, not put into the public API yet.

 * util/profile/prof_init.c (profile_copy): New function.
 * util/profile/prof_int.h (profile_copy): Declare it.
 * lib/krb5/os/Makefile.in (LOCALINCLUDES): Look in the profile source dir.
 * lib/krb5/os/init_os_ctx.c (krb5_get_profile): Replace all the previous code
 with a call to profile_copy.

ticket: 3925
version_fixed: 1.5

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-5@18227 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/os/Makefile.in
src/lib/krb5/os/init_os_ctx.c
src/util/profile/prof_init.c
src/util/profile/prof_int.h