Tanaka Akira, le Thu 28 Feb 2013 15:35:07 +0900, a écrit :
> 2013/2/28 Roland McGrath <rol...@hack.frob.com>:
> > 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

Reply via email to