Re: [RFC] Fixing non-blocking select/poll

2013-02-28 Thread Samuel Thibault
Richard Braun, le Thu 14 Feb 2013 12:19:39 +0100, a écrit :
> On Wed, Feb 13, 2013 at 01:53:37AM +0100, Samuel Thibault wrote:
> > and pushed to our glibc repository. This is all above Richard's
> > io_select_timeout changes.
> 
> I've pushed my latest changes to the hurd and glibc repositories,
> respectively in the rbraun/select_timeout_pthread_v3 and
> rbraun/io_select_timeout_v2 branches.

After you have reworked the interface to use a struct like other RPCs, I
have pushed it to master. Thanks!

Samuel



Re: connect() access bytes after socket address

2013-02-28 Thread Samuel Thibault
Tanaka Akira, le Thu 28 Feb 2013 15:35:07 +0900, a écrit :
> 2013/2/28 Roland McGrath :
> > I agree they should be consistent.  Note that sendto and sendmsg are
> > consistent with connect, rather than with bind.
> 
> I didn't know that.
> But I still think that the bind() behavior is better.
> 
> Giving the length without NUL is traditional practice in applications.
> Changing bind() may cause application problems.

I agree. I've worked on a patch, pushed to topgit for later submission.

Thanks!
Samuel