Update.
commit0891f9706f4fc0951324b3a3f113f60191b96434
authorUlrich Drepper <drepper@redhat.com>
Thu, 30 Sep 2004 08:08:40 +0000 (30 08:08 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 30 Sep 2004 08:08:40 +0000 (30 08:08 +0000)
tree48a72b0e6dfe0ee3564e3c810dea939b57d1a96a
parent085f2dd0ad1ba523749669b24f0999a3d1496ed7
Update.

2004-09-30  Ulrich Drepper  <drepper@redhat.com>

* nscd/nscd-client.h (__nscd_get_map_ref): Drop volatile from last
parameter.
(__nscd_drop_map_ref): Change second parameter to be a referenc to
a variable.  Update variable when cycle count changed.
* nscd/nscd_helper.c (__nscd_get_map_ref): Remove volatile here, too.
* nscd/nscd_getai.c: Correctly use __nscd_drop_map_ref.  Reinitialize
all variables and avoid memory leak in case of retries.
* nscd/nscd_getgr_r.c: Likewise.
* nscd/nscd_gethst_r.c: Likewise.
* nscd/nscd_getpw_r.c: Likewise.
* nscd/nscd_initgroups.c: Likewise.

* nscd/nscd.h: Add declaretion of addinitgroups and
readdinitgroups.
ChangeLog
nscd/nscd_getai.c
nscd/nscd_getgr_r.c
nscd/nscd_gethst_r.c
nscd/nscd_getpw_r.c
nscd/nscd_helper.c
nscd/nscd_initgroups.c