Make unset strings in kim_options and kim_selection_hints
authorAlexandra Ellwood <lxs@mit.edu>
Wed, 1 Oct 2008 21:59:16 +0000 (21:59 +0000)
committerAlexandra Ellwood <lxs@mit.edu>
Wed, 1 Oct 2008 21:59:16 +0000 (21:59 +0000)
commitab0b1c37bb2cc13c971461bba419f6ce5f6774bf
tree00a794027b065f7b5c5384b6ff56be8178d73ad1
parent3c1a043bf4972ff20e1c3d0d63a4f88f5d9ad5a5
Make unset strings in kim_options and kim_selection_hints
be empty strings rather than NULL.  This simplifies the
stream code (and makes it easier to read and debug).
In order to prevent copying tons of NUL bytes around,
special case kim_string functions to use a special
constant kim_empty_string.

ticket: 6055

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20804 dc483132-0cff-0310-8789-dd5450dbe970
src/include/kim/kim_selection_hints.h
src/kim/lib/kim_library_private.h
src/kim/lib/kim_options.c
src/kim/lib/kim_selection_hints.c
src/kim/lib/kim_string.c
src/kim/lib/kim_string_private.h
src/lib/krb5/os/init_os_ctx.c