Date: Wed, 06 Oct 2010 00:44:28 +0900 From: Hajimu UMEMOTO <ume@freebsd.org> To: Kostik Belousov <kostikbel@gmail.com> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r211276 - head/lib/libc/net Message-ID: <yge4od0wso3.wl%ume@mahoroba.org> In-Reply-To: <20101004174044.GU2392@deviant.kiev.zoral.com.ua> References: <201008130639.o7D6dsk1022779@svn.freebsd.org> <20101003184925.GA87647@deviant.kiev.zoral.com.ua> <yge62xivuv9.wl%ume@mahoroba.org> <20101004174044.GU2392@deviant.kiev.zoral.com.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, >>>>> On Mon, 4 Oct 2010 20:40:44 +0300 >>>>> Kostik Belousov <kostikbel@gmail.com> 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 interpretation of non-zero kostikbel> error code is "We did something wrong, or system configuration is wrong, kostikbel> etc". While zero error code and NULL pointer is perceived as "Wrong kostikbel> protocol name supplied". Okay, I found the description in Ubuntu's manpage. So, I've committed to return zero when no protocol entry is found. Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?yge4od0wso3.wl%ume>