This is the mail archive of the glibc-bugs@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/296] POSIX => AI_NUMERICHOST and address notation validity in getaddrinfo()


------- Additional Comments From a dot guru at sympatico dot ca  2004-08-05 20:24 -------
I notice the new line 588 in getaddrinfo.c

               at->family = AF_INET6;

This is right and I think a similar line should be added after line 608

                 *(uint32_t *) at->addr = ((uint32_t *) at->addr)[3];

in the "opposite" case

                 at->family = AF_INET;

with new braces of course.


-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=296

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]