This is the mail archive of the cygwin mailing list for the Cygwin 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]

Re: bug: struct cmsghdr does not match system on cygwin64


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.


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: pgp29iPauQYbd.pgp
Description: PGP signature


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