Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Oct 2010 18:52:30 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Hajimu UMEMOTO <ume@freebsd.org>
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:  <20101005155230.GA2392@deviant.kiev.zoral.com.ua>
In-Reply-To: <yge4od0wso3.wl%ume@mahoroba.org>
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> <yge4od0wso3.wl%ume@mahoroba.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--W1uEbMXJ1Mj4g6TI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Oct 06, 2010 at 12:44:28AM +0900, Hajimu UMEMOTO wrote:
> Hi,
>=20
> >>>>> On Mon, 4 Oct 2010 20:40:44 +0300
> >>>>> Kostik Belousov <kostikbel@gmail.com> said:
>=20
> kostikbel> Yes, I saw that commit. And there is a software in wild that d=
oes 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".
>=20
> Okay, I found the description in Ubuntu's manpage.  So, I've committed
> to return zero when no protocol entry is found.
>=20
> Sincerely,

Thank you.

--W1uEbMXJ1Mj4g6TI
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)

iEYEARECAAYFAkyrSb4ACgkQC3+MBN1Mb4haCQCcDxQNfpIT+oWOXOfNTe4gpwZC
g58AoLkQQcP4Iy3/Qk5TKS5tcbmA40x3
=b8DJ
-----END PGP SIGNATURE-----

--W1uEbMXJ1Mj4g6TI--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101005155230.GA2392>