From owner-svn-src-all@FreeBSD.ORG Tue Oct 5 15:52:37 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5B0B106566B; Tue, 5 Oct 2010 15:52:37 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 01FCB8FC16; Tue, 5 Oct 2010 15:52:36 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id o95FqUOT037694 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 5 Oct 2010 18:52:30 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id o95FqUnG027829; Tue, 5 Oct 2010 18:52:30 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id o95FqU6N027828; Tue, 5 Oct 2010 18:52:30 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 5 Oct 2010 18:52:30 +0300 From: Kostik Belousov To: Hajimu UMEMOTO Message-ID: <20101005155230.GA2392@deviant.kiev.zoral.com.ua> References: <201008130639.o7D6dsk1022779@svn.freebsd.org> <20101003184925.GA87647@deviant.kiev.zoral.com.ua> <20101004174044.GU2392@deviant.kiev.zoral.com.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="W1uEbMXJ1Mj4g6TI" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-3.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r211276 - head/lib/libc/net X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Oct 2010 15:52:37 -0000 --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 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--