Fix a few asserts and IO calls in nscd.
authorAnders Johansson <ajohansson@novell.com>
Fri, 30 Oct 2009 05:18:26 +0000 (22:18 -0700)
committerUlrich Drepper <drepper@redhat.com>
Fri, 30 Oct 2009 05:18:26 +0000 (22:18 -0700)
commitea547a1a6e350b758fcda76b919b3aa774752318
treed78a3f57c05349de4f423eb36cef97f08f83bc77
parent5c53736b52d5032171813d813d4a7ad505102b61
Fix a few asserts and IO calls in nscd.

The nscd/*cache.c files contain assert()s, writeall() and sendfileall() calls
that invalidly use together &dataset->resp and total where either dataset or
dataset->head.recsize should be used instead one of the components. In the
writeall() and sendfileall() cases, it is unlikely to matter in practice, but
the assertions can fail sometimes without a proper reason.
ChangeLog
nscd/aicache.c
nscd/grpcache.c
nscd/hstcache.c
nscd/initgrcache.c
nscd/pwdcache.c