mirror of
				https://sourceware.org/git/glibc.git
				synced 2025-10-30 10:45:40 +03:00 
			
		
		
		
	1999-08-09 Scott Bambrough <scottb@netwinder.org> * elf/elf.h: Added definition of ELFOSABI_ARM. * elf/dl-load.c (_dl_map_object_from_fd): Use VALID_ELF_HEADER, VALID_ELF_OSABI, VALID_ELF_ABIVERSION to decide whether an object's header and ABI values are acceptable. (VALID_ELF_HEADER): New macro; provide default definition. (VALID_ELF_OSABI): New macro; provide default definition. (VALID_ELF_ABIVERSION): New macro; provide default definition. * sysdeps/arm/dl-machine.h Define ARM specific versions of VALID_ELF_HEADER, VALID_ELF_OSABI, VALID_ELF_ABIVERSION. 1999-08-09 Andreas Schwab <schwab@suse.de> * inet/tst-ipnode.c (main): Don't compare integer with NULL. 1999-08-09 Thorsten Kukuk <kukuk@suse.de> * sunrpc/svc_run.c (svc_run): Free my_pollfd. 1999-08-09 Andreas Schwab <schwab@suse.de> * sunrpc/svc.c (svc_getreq_poll): Fix argument of xprt_unregister.
		
			
				
	
	
		
			26 lines
		
	
	
		
			493 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			493 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #include <netdb.h>
 | |
| #include <stdio.h>
 | |
| #include <netinet/in.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 ((char *) &anyv6, sizeof (anyv6), AF_INET6, &errval)
 | |
|       != NULL
 | |
|       || errval != HOST_NOT_FOUND)
 | |
|     {
 | |
|       puts ("getipnodenyaddr(in6addr_any,...) != NULL");
 | |
|       ++errors;
 | |
|     }
 | |
| 
 | |
|   return errors != 0;
 | |
| }
 |