X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=Vy/EXkidGpOmjzE3Vo4iwz99aVe6d0AKLLSx0uYH8SiNi466WqBxL BJRfKUYImp2TAWZGyI5mj4RwVJQkFsgn71bANv32g5hY8i82Jzx9vC7GiMcqmjXl i7H5MB6OFO+4GSKQrbSDR+LNPRoUrISHczMYVafkRvZvvarwQtGdGc= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=pNaQ/jDFmdKZvfLgtxLEPV2p8tU=; b=QXkZqe9gHVGzVNUbAAQ1UBckoNNR WzIddDYKZ8DxsMKI4pqAi4sSp3TtQ6QXdQpbkAGkoekk+1loqjej0Fk5scwnHS74 AcGrWls92fOKjIVVBaM0FVipkVnMWLjVCR9cjiVKuSkhHJsQaPNOXVzzHYd337au MnFJxwgmT5YDz3Y= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Date: Thu, 8 Jan 2015 14:13:46 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: bug: struct cmsghdr does not match system on cygwin64 Message-ID: <20150108131346.GJ4190@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <54A1C8E0 DOT 40509 AT gmail DOT com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rwbb4r/vLufKlfJs" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) --rwbb4r/vLufKlfJs Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Dec 29 14:14, Kenton Varda wrote: > On Mon, Dec 29, 2014 at 1:34 PM, Marco Atzeri wr= ote: > > the 4 byte shift is likely due to > > > > SIZE_T -> ULONG_PTR -> unsigned __int3264 >=20 > Yes, exactly. >=20 > So, cygwin/socket.h's struct cmsghdr definition needs to be fixed to matc= h. 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 --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --rwbb4r/vLufKlfJs Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJUroKJAAoJEPU2Bp2uRE+g4NAP/jvOtwLiRV2aZxRL78oi7NXo hTMZp/eXrRsVuYbF5H7gBdiEmAEo7pTrhIH3utwJv3iP6QsllbTLSHb6qeycLvgN dr9x6w14nsa7FJbkDyHvZni6/rp4osTnT9Pp2VUCHMrc/g51r5b/5C28Es3E0p7v g136egq52Lpr/MlnF0VWo1zDG6EBup8VhF0xbVSx62I8wTfiU9K4gfiU4CqKnVoP RFYQDO8PEjzWbefgUPssQFSGFXr13dbMDIOc2jNh0qYd0FZtREHyimGSqlp/YeaC A0P6ZLWtBvSzNf7sAcVV6Fly7FCzxxPLT6sIq2LVkeGXYeoX2G2KubaajEq/rsQ0 tChtsr4osP/Cx98G2OFZlVhGHRTZ4OPS6zSQVFc9NZG+fxY9ExpJJEfQYoDmS+67 siDPRCBFoZAPcZztmI+Dl+IIsilsB2VfN249ZuhgnJRHFOMhYPEsxJfudBCoJtHF yZX8K9P7poQKWJWgWdjcL76/33MkzUCGmB5qfHJUso/AUoIzro7uj1UP+Nw84xZ6 CHCSyeAi78/WA8GmmLtmYfIqzGr4pMhUzkgOHunto+tVZ1GLwDFNay3uYg2QyWbR gc7Ha9Qt1Pd0S6uG3TuTOcx/RGEw6lnKHHjWEkCalqNK5iw2dKh5iTvNVJlS821o noBRPtQWkK+TmlfdeEot =jKma -----END PGP SIGNATURE----- --rwbb4r/vLufKlfJs--