I'm not sure how the .i ends up with a zero-length array; resolv.h has:
# define MAXNS 3 /* max # name servers we'll track */
[...]
struct __res_state {
[...]
struct sockaddr_in nsaddr_list[MAXNS]; /* address of name server */
so it should be [3], but it's [0] in the .i file attached here.
I'm not sure how the .i ends up with a zero-length array; resolv.h has:
nsaddr_ list[MAXNS] ; /* address of name server */
# define MAXNS 3 /* max # name servers we'll track */
[...]
struct __res_state {
[...]
struct sockaddr_in
so it should be [3], but it's [0] in the .i file attached here.