mirror of git://sourceware.org/git/glibc.git
Update.
1999-08-06 Ulrich Drepper <drepper@cygnus.com> * inet/tst-ipnode.c: New file.
This commit is contained in:
parent
c79772f542
commit
93160baaa0
|
|
@ -1,3 +1,7 @@
|
||||||
|
1999-08-06 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
|
* inet/tst-ipnode.c: New file.
|
||||||
|
|
||||||
1999-08-06 Andreas Schwab <schwab@suse.de>
|
1999-08-06 Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DSYNC, O_RSYNC):
|
* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DSYNC, O_RSYNC):
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,23 @@
|
||||||
|
#include <netdb.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
/* The unspecified IPv6 address. */
|
||||||
|
struct in6_addr anyv6 = IN6ADDR_ANY_INIT;
|
||||||
|
|
||||||
|
int
|
||||||
|
main (void)
|
||||||
|
{
|
||||||
|
int errors = 0;
|
||||||
|
int errval;
|
||||||
|
|
||||||
|
/* Test the unspecifed IPv6 address. */
|
||||||
|
errval = 0x3453456;
|
||||||
|
if (getipnodebyaddr (&anyv6, sizeof (anyv6), AF_INET6, &errval) != NULL
|
||||||
|
|| errval != HOST_NOT_FOUND)
|
||||||
|
{
|
||||||
|
puts ("getipnodenyaddr(in6addr_any,...) != NULL");
|
||||||
|
++errors;
|
||||||
|
}
|
||||||
|
|
||||||
|
return errors != NULL;
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue