Skip to content

Commit

Permalink
* sysdeps/posix/getaddrinfo.c (gaiconf_init): Initialize bits in
Browse files Browse the repository at this point in the history
	the correct place.

	copying.  No need to allocate new array for group members.  Just
  • Loading branch information
Ulrich Drepper committed May 30, 2006
1 parent cabfcde commit ecc6856
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 6 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2006-05-30 Ulrich Drepper <drepper@redhat.com>

* sysdeps/posix/getaddrinfo.c (gaiconf_init): Initialize bits in
the correct place.

2006-05-29 Ulrich Drepper <drepper@redhat.com>

* nscd/nscd.h (struct database_dyn): Add prunelock field.
@@ -8,7 +13,7 @@
2006-05-25 Ulrich Drepper <drepper@redhat.com>

* nis/nis_removemember.c (nis_removemember): Avoid unnecessary
coping. No need to allocate new array for group members. Just
copying. No need to allocate new array for group members. Just
move the pointers and update the size.

* nis/nis_addmember.c (nis_addmember): Avoid unnecessary copying.
3 changes: 2 additions & 1 deletion sysdeps/posix/getaddrinfo.c
Original file line number Diff line number Diff line change
@@ -1668,7 +1668,7 @@ gaiconf_init (void)
if (strcmp (cmd, "label") == 0)
{
struct in6_addr prefix;
unsigned long int bits = 128;
unsigned long int bits;
unsigned long int val;
char *endp;

@@ -1677,6 +1677,7 @@ gaiconf_init (void)
nullbitsp = &labellist_nullbits;

new_elem:
bits = 128;
__set_errno (0);
cp = strchr (val1, '/');
if (cp != NULL)

0 comments on commit ecc6856

Please sign in to comment.