bug: struct cmsghdr does not match system on cygwin64

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Jan 8 13:13:00 GMT 2015

On Dec 29 14:14, Kenton Varda wrote:
> On Mon, Dec 29, 2014 at 1:34 PM, Marco Atzeri <marco.atzeri@gmail.com> wrote:
> > the 4 byte shift is likely due to
> >
> > SIZE_T -> ULONG_PTR -> unsigned __int3264
> Yes, exactly.
> So, cygwin/socket.h's struct cmsghdr definition needs to be fixed to match.

Since nothing in Cygwin is using this so far, and since the 64 bit
version is broken as is, I simply changed the type in the header.
And backward compatibility be damned.


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20150108/314b5dde/attachment.sig>

More information about the Cygwin mailing list