From owner-freebsd-current@FreeBSD.ORG Thu Oct 1 09:50:09 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40F431065670; Thu, 1 Oct 2009 09:50:09 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (skuns.zoral.com.ua [91.193.166.194]) by mx1.freebsd.org (Postfix) with ESMTP id A1A488FC21; Thu, 1 Oct 2009 09:50:08 +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 n919o4xV096811 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 1 Oct 2009 12:50:04 +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.3/8.14.3) with ESMTP id n919o31L053020; Thu, 1 Oct 2009 12:50:03 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3/Submit) id n919o3TG053019; Thu, 1 Oct 2009 12:50:03 +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: Thu, 1 Oct 2009 12:50:02 +0300 From: Kostik Belousov To: Joe Marcus Clarke Message-ID: <20091001095002.GQ3130@deviant.kiev.zoral.com.ua> References: <1254369928.94567.50.camel@shumai.marcuscom.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0fZkDq/H4AmqaB8D" Content-Disposition: inline In-Reply-To: <1254369928.94567.50.camel@shumai.marcuscom.com> 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: current@freebsd.org Subject: Re: Pthread fix to libc on FreeBSD 9.X, 8.X, 7.X, and 6.X X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2009 09:50:09 -0000 --0fZkDq/H4AmqaB8D Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 01, 2009 at 12:05:28AM -0400, Joe Marcus Clarke wrote: > Users were reporting a failure with pthread_mutexattr_settype(), and I > couldn't figure out why this function would fail. It's quite simple. I > tracked down a problem to the pthread stubs in libc. The stub > definition for pthread_mutexattr_settype() is wrong. Here is a patch > which has been reported to fix the problem users have reported. I'd > like to commit it, but I'd really like a review from someone with thread > knowledge. Thanks. >=20 > http://www.marcuscom.com/downloads/_pthread_stubs.c.diff The patch looks right. --0fZkDq/H4AmqaB8D Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkrEe0oACgkQC3+MBN1Mb4ioogCgsg/NBe7IE2+6UfYpkjCK+B0p FJEAn3IQuNwyFEQKsv0oz/60XJCNAVTE =MDBF -----END PGP SIGNATURE----- --0fZkDq/H4AmqaB8D--