From: Ulrich Drepper Date: Tue, 28 Sep 2004 22:13:11 +0000 (+0000) Subject: Update. X-Git-Tag: cvs/fedora-glibc-20040929T0821~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21ae57c4135109f3e5478c713463fe4951605fd8;p=thirdparty%2Fglibc.git Update. * sunrpc/get_myaddr.c (get_myaddress): Fix test for failing getifaddrs call. * sunrpc/pmap_clnt.c (__get_myaddress): Likewise. --- diff --git a/ChangeLog b/ChangeLog index c0300536301..8d1815e5f4c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2004-09-28 Ulrich Drepper + * sunrpc/get_myaddr.c (get_myaddress): Fix test for failing + getifaddrs call. + * sunrpc/pmap_clnt.c (__get_myaddress): Likewise. + * malloc/arena.c (ptmalloc_init): Allow MALLOC_CHECK_==0 to disable all checking. diff --git a/sunrpc/get_myaddr.c b/sunrpc/get_myaddr.c index ee822970f9e..c0beee9c595 100644 --- a/sunrpc/get_myaddr.c +++ b/sunrpc/get_myaddr.c @@ -63,7 +63,7 @@ get_myaddress (struct sockaddr_in *addr) { struct ifaddrs *ifa; - if (getifaddrs (&ifa) == 0) + if (getifaddrs (&ifa) != 0) { perror ("get_myaddress: getifaddrs"); exit (1); diff --git a/sunrpc/pmap_clnt.c b/sunrpc/pmap_clnt.c index c968511e962..aa5740c8a0b 100644 --- a/sunrpc/pmap_clnt.c +++ b/sunrpc/pmap_clnt.c @@ -57,7 +57,7 @@ __get_myaddress (struct sockaddr_in *addr) { struct ifaddrs *ifa; - if (getifaddrs (&ifa) == 0) + if (getifaddrs (&ifa) != 0) { perror ("get_myaddress: getifaddrs"); exit (1);