* rc_io.c (getdir): Subtract one from dirlen, since sizeof
authorTom Yu <tlyu@mit.edu>
Wed, 24 Jan 2001 02:18:20 +0000 (02:18 +0000)
committerTom Yu <tlyu@mit.edu>
Wed, 24 Jan 2001 02:18:20 +0000 (02:18 +0000)
commitaaf6fd7514d3549ebdb545af63fefac951a19ee4
tree2e5e3a74a1a65b5dd6dd4ad7d759288f64827629
parent98094d71b615f21b10499d1fd18be05cfd4409f0
* rc_io.c (getdir): Subtract one from dirlen, since sizeof
includes the terminating NUL character.  Avoid redundant path
separators.
(krb5_rc_io_move): When renaming OLD to NEW, don't copy the
filename.  This was causing temporary files to get leaked.
(krb5_rc_io_close): Don't FREE if d->fn is NULL.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12935 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/rcache/ChangeLog
src/lib/krb5/rcache/rc_io.c