2004-12-28  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/generic/dl-tls.c (__tls_get_addr): Fix typo.
This commit is contained in:
Ulrich Drepper 2004-12-28 10:09:27 +00:00
parent a71c152cfc
commit ab4bc71349
3 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2004-12-28 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/dl-tls.c (__tls_get_addr): Fix typo.
2004-12-27 Ulrich Drepper <drepper@redhat.com> 2004-12-27 Ulrich Drepper <drepper@redhat.com>
* include/signal.h: Define __sigemptyset. * include/signal.h: Define __sigemptyset.

View File

@ -49,6 +49,7 @@ extern int __default_sigpause (int mask);
extern int __xpg_sigpause (int sig); extern int __xpg_sigpause (int sig);
/* Simplified sigemptyset() implementation without the parameter checking. */ /* Simplified sigemptyset() implementation without the parameter checking. */
#undef __sigemptyset
#define __sigemptyset(ss) (memset (ss, '\0', sizeof (sigset_t)), 0) #define __sigemptyset(ss) (memset (ss, '\0', sizeof (sigset_t)), 0)

View File

@ -577,7 +577,7 @@ __tls_get_addr (GET_ADDR_ARGS)
{ {
size_t cnt; size_t cnt;
for (cnt = total = 0 ? 1 : 0; cnt < listp->len; ++cnt) for (cnt = total == 0 ? 1 : 0; cnt < listp->len; ++cnt)
{ {
size_t gen = listp->slotinfo[cnt].gen; size_t gen = listp->slotinfo[cnt].gen;
struct link_map *map; struct link_map *map;