Bug in /usr/i686-pc-cygwin/include/cygwin/in.h
Adam Fedor
fedor@doc.com
Fri May 26 14:21:00 GMT 2000
It looks like the definition for sin6_addr is incorrect, because no
"struct in_addr6" exists, but a "struct in6_addr" does exist directly
above the definition for sin6_addr. I've enclosed a patch for this.
I'm using the "latest" cygwin distribution, with the
cygwin1-20000525.dll snapshot.
--
Adam Fedor, Digital Optics | Fudd's law of opposition: Push
fedor@doc.com http://www.doc.com | something hard enough, and it
fedor@gnu.org http://www.gnustep.org | will fall over.
In /usr/i686-pc-cygwin/include/cygwin:
--- in.h.old Fri May 26 13:57:44 2000
+++ in.h Fri May 26 14:05:52 2000
@@ -182,7 +182,7 @@ struct sockaddr_in6
unsigned short sin6_family;
unsigned short sin6_port;
unsigned long sin6_flowinfo;
- struct in_addr6 sin6_addr;
+ struct in6_addr sin6_addr;
};
#endif /* _CYGWIN_IN_H */
More information about the Cygwin
mailing list