Re: svn commit: r211276 - head/lib/libc/net

2010-10-05 Thread Kostik Belousov
On Wed, Oct 06, 2010 at 12:44:28AM +0900, Hajimu UMEMOTO wrote: > Hi, > > > On Mon, 4 Oct 2010 20:40:44 +0300 > > Kostik Belousov said: > > kostikbel> Yes, I saw that commit. And there is a software in wild that does > expect > kostikbel> return value 0 and NULL returned pointer when pr

Re: svn commit: r211276 - head/lib/libc/net

2010-10-05 Thread Hajimu UMEMOTO
Hi, > On Mon, 4 Oct 2010 20:40:44 +0300 > Kostik Belousov said: kostikbel> Yes, I saw that commit. And there is a software in wild that does expect kostikbel> return value 0 and NULL returned pointer when protocol was not found, kostikbel> as opposed to some processing error. The interp

Re: svn commit: r211276 - head/lib/libc/net

2010-10-04 Thread Kostik Belousov
On Tue, Oct 05, 2010 at 12:30:02AM +0900, Hajimu UMEMOTO wrote: > Hi, > > > On Sun, 3 Oct 2010 21:49:26 +0300 > > Kostik Belousov said: > > kostikbel> I suspect there is some subtle issue with the commit present. > kostikbel> When getprotobyname_r() is unable to find the protocol, it see

Re: svn commit: r211276 - head/lib/libc/net

2010-10-04 Thread Hajimu UMEMOTO
Hi, > On Sun, 3 Oct 2010 21:49:26 +0300 > Kostik Belousov said: kostikbel> I suspect there is some subtle issue with the commit present. kostikbel> When getprotobyname_r() is unable to find the protocol, it seems kostikbel> that established behaviour is to return 0 and set *protoent to N

Re: svn commit: r211276 - head/lib/libc/net

2010-10-03 Thread Kostik Belousov
On Fri, Aug 13, 2010 at 06:39:54AM +, Hajimu UMEMOTO wrote: > Author: ume > Date: Fri Aug 13 06:39:54 2010 > New Revision: 211276 > URL: http://svn.freebsd.org/changeset/base/211276 > > Log: > - When there is no room for returning the result, nss backend > have to return ERANGE and termi

svn commit: r211276 - head/lib/libc/net

2010-08-12 Thread Hajimu UMEMOTO
Author: ume Date: Fri Aug 13 06:39:54 2010 New Revision: 211276 URL: http://svn.freebsd.org/changeset/base/211276 Log: - When there is no room for returning the result, nss backend have to return ERANGE and terminate with NS_RETURN. - When gethostbyname_r(3) and the friends end with an err