This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: [PATCH] Create bits/socket.h for alpha, correct SOCK_CLOEXEC value.
- From: Matt Turner <mattst88 at gmail dot com>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: Aurelien Jarno <aurelien at aurel32 dot net>, libc-ports at sourceware dot org
- Date: Tue, 23 Mar 2010 11:39:47 -0400
- Subject: Re: [PATCH] Create bits/socket.h for alpha, correct SOCK_CLOEXEC value.
- References: <1266042545-3010-1-git-send-email-mattst88@gmail.com> <4B8E1118.6050101@aurel32.net> <Pine.LNX.4.64.1003231520410.21308@digraph.polyomino.org.uk>
On Tue, Mar 23, 2010 at 11:22 AM, Joseph S. Myers
<joseph@codesourcery.com> wrote:
> On Wed, 3 Mar 2010, Aurelien Jarno wrote:
>
>> > + ?SOCK_NONBLOCK = 04000 ? ? ? ? ? ?/* Atomically mark descriptor(s) as
>> > + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?non-blocking. ?*/
>>
>> This value should be 0x40000000 instead.
>>
>> Note that there is a patch available to fix both these issues in BZ #10528.
>
> I have committed Matt's patch but with your fix to this value. ?The patch
> in that bug was out-of-date with respect to the libc version of
> bits/socket.h (it was missing the recvmmsg interface).
>
> --
> Joseph S. Myers
> joseph@codesourcery.com
Thanks a lot, Joseph!