2000-09-29  Ulrich Drepper  <drepper@redhat.com>

	* inet/getnameinfo.c (nrl_domainname): Use symbolic constant
	INADDR_LOOPBACK instead of numeric value.
This commit is contained in:
Ulrich Drepper 2000-09-29 15:41:23 +00:00
parent 98da3ec2ba
commit 062a2a18f4
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2000-09-29 Ulrich Drepper <drepper@redhat.com>
* inet/getnameinfo.c (nrl_domainname): Use symbolic constant
INADDR_LOOPBACK instead of numeric value.
2000-09-28 H.J. Lu <hjl@gnu.org>
* sysdeps/ia64/dl-machine.h (RTLD_START): Adjust _dl_argv by

View File

@ -134,7 +134,7 @@ nrl_domainname (void)
{
struct in_addr in_addr;
in_addr.s_addr = htonl (0x7f000001);
in_addr.s_addr = htonl (INADDR_LOOPBACK);
while (__gethostbyaddr_r ((const char *) &in_addr,
sizeof (struct in_addr),