From owner-svn-src-all@FreeBSD.ORG Fri Feb 12 16:43:52 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 67AE01065692; Fri, 12 Feb 2010 16:43:52 +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 E7F288FC13; Fri, 12 Feb 2010 16:43:51 +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 o1CGhcNa097333 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 12 Feb 2010 18:43:38 +0200 (EET) (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.3/8.14.3) with ESMTP id o1CGhcdk030035; Fri, 12 Feb 2010 18:43:38 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3/Submit) id o1CGhckQ030034; Fri, 12 Feb 2010 18:43:38 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 12 Feb 2010 18:43:38 +0200 From: Kostik Belousov To: Ruslan Ermilov Message-ID: <20100212164338.GH9991@deviant.kiev.zoral.com.ua> References: <201002121633.o1CGX3hd067423@svn.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="u0lqphHC8S+ob1K0" Content-Disposition: inline In-Reply-To: <201002121633.o1CGX3hd067423@svn.freebsd.org> 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=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham 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: r203800 - in head/tools: regression/file/newfileops_on_fork regression/gaithrstress tools/mctest tools/netrate/http tools/netrate/httpd tools/netrate/juggle 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: Fri, 12 Feb 2010 16:43:52 -0000 --u0lqphHC8S+ob1K0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 12, 2010 at 04:33:03PM +0000, Ruslan Ermilov wrote: > Author: ru > Date: Fri Feb 12 16:33:03 2010 > New Revision: 203800 > URL: http://svn.freebsd.org/changeset/base/203800 >=20 > Log: > Fixed error checking of pthread(3) functions. > =20 > PR: 143807 > Submitted by: pluknet (partly) >=20 > Modified: > head/tools/regression/file/newfileops_on_fork/newfileops_on_fork.c > head/tools/regression/gaithrstress/gaithrstress.c > head/tools/tools/mctest/mctest.cc > head/tools/tools/netrate/http/http.c > head/tools/tools/netrate/httpd/httpd.c > head/tools/tools/netrate/juggle/juggle.c >=20 > Modified: head/tools/regression/file/newfileops_on_fork/newfileops_on_for= k.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/tools/regression/file/newfileops_on_fork/newfileops_on_fork.c Fr= i Feb 12 15:07:24 2010 (r203799) > +++ head/tools/regression/file/newfileops_on_fork/newfileops_on_fork.c Fr= i Feb 12 16:33:03 2010 (r203800) > @@ -113,7 +113,7 @@ main(__unused int argc, __unused char *a > err(-1, "bind"); > if (listen(listen_fd, -1) <0) > err(-1, "listen"); > - if (pthread_create(&accept_thread, NULL, do_accept, NULL) < 0) > + if (pthread_create(&accept_thread, NULL, do_accept, NULL) !=3D 0) > err(-1, "pthread_create"); > sleep(1); /* Easier than using a CV. */; > do_fork(); err() uses errno, so this is still not quite right ? --u0lqphHC8S+ob1K0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkt1hTkACgkQC3+MBN1Mb4g0/gCg0DkzuOyPjgTOnN202g1YinVl 8dYAoPH0SeCcshpbz6//kIiVgZ/g048R =5vT8 -----END PGP SIGNATURE----- --u0lqphHC8S+ob1K0--