From cd248c3f0dff50ed7a9421fa3b152401050e6a6c Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 5 Sep 2006 14:49:19 +0000 Subject: 2006-03-04 Jakub Jelinek Roland McGrath * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_STUB_UNWIND_INFO_START, LLL_STUB_UNWIND_INFO_END, LLL_STUB_UNWIND_INFO_3, LLL_STUB_UNWIND_INFO_4): Define. (lll_mutex_lock, lll_robust_mutex_lock, lll_mutex_cond_lock, lll_robust_mutex_cond_lock, lll_mutex_timedlock, lll_robust_mutex_timedlock, lll_mutex_unlock, lll_robust_mutex_unlock, lll_lock, lll_unlock): Use them. Add _L_*_ symbols around the subsection. * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Add unwind info. * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Likewise. 2006-03-03 Jakub Jelinek Roland McGrath * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (LLL_STUB_UNWIND_INFO_START, LLL_STUB_UNWIND_INFO_END, LLL_STUB_UNWIND_INFO_5, LLL_STUB_UNWIND_INFO_6): Define. (lll_mutex_lock, lll_robust_mutex_lock, lll_mutex_cond_lock, lll_robust_mutex_cond_lock, lll_mutex_timedlock, lll_robust_mutex_timedlock, lll_mutex_unlock, lll_robust_mutex_unlock, lll_lock, lll_unlock): Use them. Add _L_*_ symbols around the subsection. * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Add unwind info. * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise. --- nscd/initgrcache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nscd') diff --git a/nscd/initgrcache.c b/nscd/initgrcache.c index b4ae139..f1f859c 100644 --- a/nscd/initgrcache.c +++ b/nscd/initgrcache.c @@ -107,6 +107,7 @@ addinitgroupsX (struct database_dyn *db, int fd, request_header *req, long int start = 0; bool all_tryagain = true; + bool any_success = false; /* This is temporary memory, we need not (ad must not) call mempool_alloc. */ @@ -117,7 +118,6 @@ addinitgroupsX (struct database_dyn *db, int fd, request_header *req, goto out; /* Nothing added yet. */ - bool any_success = false; while (! no_more) { long int prev_start = start; -- cgit v1.1