------- Comment #8 from lool at dooz dot org  2010-08-16 14:21 -------
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.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36466

Reply via email to