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: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Aurelien Jarno <aurelien at aurel32 dot net>
- Cc: Matt Turner <mattst88 at gmail dot com>, libc-ports at sourceware dot org
- Date: Tue, 23 Mar 2010 15:22:21 +0000 (UTC)
- 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>
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