Move (BSD-licensed) mkstemp from libdb2 to libkrb5support, and rename
authorKen Raeburn <raeburn@mit.edu>
Wed, 20 Jun 2007 03:53:37 +0000 (03:53 +0000)
committerKen Raeburn <raeburn@mit.edu>
Wed, 20 Jun 2007 03:53:37 +0000 (03:53 +0000)
commit56da8ce661eaf5b6555db9be3a572cf27ce8894f
tree3c8aab6089766c909fb4bf222e2bbda438056143
parent86e638b30cb0c56e9d0fd0b213be0696191eb297
Move (BSD-licensed) mkstemp from libdb2 to libkrb5support, and rename
the function to krb5int_mkstemp.  Generate the symbol export list for
libkrb5support at build time.

Declare krb5int_mkstemp in k5-platform.h.
Change cc_file.c to use mkstemp unconditionally.

Make libdb2.so (built for testing only) link against the
libkrb5support, and use krb5int_mkstemp if mkstemp is not available.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19600 dc483132-0cff-0310-8789-dd5450dbe970
src/configure.in
src/include/k5-platform.h
src/lib/krb5/ccache/cc_file.c
src/plugins/kdb/db2/libdb2/Makefile.in
src/plugins/kdb/db2/libdb2/clib/Makefile.in
src/plugins/kdb/db2/libdb2/configure.in
src/util/support/Makefile.in
src/util/support/libkrb5support-fixed.exports [moved from src/util/support/libkrb5support.exports with 100% similarity]
src/util/support/mkstemp.c [moved from src/plugins/kdb/db2/libdb2/clib/mkstemp.c with 96% similarity]