fix dig and nslookup.
sizeof(_res) must be the same for libc, libresolv and libbind. libc and libresolve uses bind4 while libbind seems to use bind8. complete fix would be to share the same codebase among libc and libbind, but I don't know if importing bind8 into libc/libresolv (or bind9 to all the places) is the right answer. it involves a big change. PR: 7966
This commit is contained in:
parent
e5d7b92a94
commit
d6fd5e2c88
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: resolv.h,v 1.2 1999/01/04 00:04:06 tron Exp $ */
|
||||
/* $NetBSD: resolv.h,v 1.3 1999/08/07 12:40:06 itojun Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1983, 1987, 1989
|
||||
@ -127,7 +127,11 @@ struct __res_state {
|
||||
struct in_addr addr;
|
||||
u_int32_t mask;
|
||||
} sort_list[MAXRESOLVSORT];
|
||||
#if 0
|
||||
char pad[72]; /* On an i386 this means 512b total. */
|
||||
#else
|
||||
char lookups[4];
|
||||
#endif
|
||||
};
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user