This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: [PATCH] handle EPROTOTYPE for socket invocations with SOCK_* flags


Hi!

On Wed,  6 Feb 2013 16:41:29 -0800 (PST), Roland McGrath <roland@hack.frob.com> wrote:
> > since glibc 2.16, Hurd's bits/socket.h provides SOCK_CLOEXEC and 
> > SOCK_NONBLOCK (which accept4 handles), but __ASSUME_SOCK_CLOEXEC is not 
> > defined since socket and socketpair do not handle them, yet.
> 
> Separate from this change, implementing SOCK_CLOEXEC should be very easy.

I have done this (in 2008); just needs some more polishing: mainly/only
(?) reworking the t/verify.h branch that you didn't like:
Âinclude/verify.h: New file, from gnulib.Â, providing compile-time
assert-like macros.  I think the conclusion was to use a simpler
alternative for glibc, instead of importing gnulib's file.


GrÃÃe,
 Thomas

Attachment: pgp00000.pgp
Description: PGP signature


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