delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/12/29/17:15:29

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:mime-version:in-reply-to:references:from:date
:message-id:subject:to:cc:content-type; q=dns; s=default; b=aCMU
X6o5bjqDch2mXhBlr3kZUxS6nW6D1fH70jXcKAMMdvt6Pd0rND745AYSAjtLmVMg
8QbwgHr26xR5ngK4Q6ie7vJyRtd2xu84/YFWL/d3lnnLMaRvVhvHWY9L0EB75vJM
ieCIF5sQiyKaDg16qiMi/8YyqMjkKCuXlZhLViE=
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:mime-version:in-reply-to:references:from:date
:message-id:subject:to:cc:content-type; s=default; bh=2+npagN1w9
BTML3OCvgeGD0K7Aw=; b=eMh6ZdzcdvjFv1U8E00TaaimBE7UZvGd0EK0ZUHtxh
GPo+jR4mzlXU5fbBrnBFbQ3Fz2eo/E0vsnO/6Eck0wVBsuVhOctmFd+KskJ4cG4a
1rco81uSz4cY3EcdC5DrdWUlQ1pB1tNEBIzOXkWR+F+nUXYi6qPgSDLcn2NyM9hD
A=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=-0.8 required=5.0 tests=AWL,BAYES_20,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2
X-HELO: mail-la0-f43.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type; bh=jsR1LXBNYugcZnCOUOLO6cVLLGzoMY2OK25g6oab5Tc=; b=YoDRVRN1sS9DdyzWehlVoa/gsHNMNOJTbC7OpleLFFShEu6TTnvQzBAEUAEIv6npkh xv8BYMqjZE+0nBach7CkAP3iiqCupvWBzo2w8rwXwRIYWiR4s9m1pvfLRX8k9putGIX7 /4v6ob/czHJeQII2fIFc3xusD1v7xF9B/TCcgSsGZSRQ9x6MZu5tuhEeu32SEiuBWOnK MwE2Xo4aqRU8inKj06mDG1lyjUsmCJ8lCWHveLrhd3uOo1xy+uJuhY5cKQp/UoLcBGbF L2hxX1Ux+ADccpV7/ctBbvIr2OLqXW5AIsbmduiR6oym63HihU39N+UHI5n/VJez1Rrg Z1bw==
X-Gm-Message-State: ALoCoQn/hTu6W0nFANxHLcIwuJI80Doy4lgLLgMFPm5sQeThEcW5UTDqV53JhPKP3cZhPN2FjzMv
X-Received: by 10.152.36.37 with SMTP id n5mr57262334laj.27.1419891307648; Mon, 29 Dec 2014 14:15:07 -0800 (PST)
MIME-Version: 1.0
In-Reply-To: <54A1C8E0.40509@gmail.com>
References: <CAOP=4wh3i=gHtCTPwksmrP=3_aQTMiFw8_0Vg08hrCPg53m8fg AT mail DOT gmail DOT com> <CAOP=4whbdcjsaSVzEbvvLhFhE5v210Y8CoXV+JGboank=mKsOw AT mail DOT gmail DOT com> <54A1C8E0 DOT 40509 AT gmail DOT com>
From: Kenton Varda <kenton AT sandstorm DOT io>
Date: Mon, 29 Dec 2014 14:14:47 -0800
Message-ID: <CAOP=4whOCSz6kBnA1bOnibY+6kTJcxEoXc9L+05veT8ZmAeTyQ@mail.gmail.com>
Subject: Re: bug: struct cmsghdr does not match system on cygwin64
To: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Cc: cygwin <cygwin AT cygwin DOT com>

On Mon, Dec 29, 2014 at 1:34 PM, Marco Atzeri <marco DOT atzeri AT gmail DOT 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.

-Kenton

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019