From owner-freebsd-bugs@FreeBSD.ORG Wed Feb 23 15:51:05 2011 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A3DF51065673; Wed, 23 Feb 2011 15:51:05 +0000 (UTC) (envelope-from dchagin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7A5818FC19; Wed, 23 Feb 2011 15:51:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p1NFp52n041349; Wed, 23 Feb 2011 15:51:05 GMT (envelope-from dchagin@freefall.freebsd.org) Received: (from dchagin@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p1NFp5Al041330; Wed, 23 Feb 2011 15:51:05 GMT (envelope-from dchagin) Date: Wed, 23 Feb 2011 15:51:05 GMT Message-Id: <201102231551.p1NFp5Al041330@freefall.freebsd.org> To: MarkelovEduard@gmail.com, dchagin@FreeBSD.org, freebsd-bugs@FreeBSD.org From: dchagin@FreeBSD.org Cc: Subject: Re: misc/154975: typo in source code X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 15:51:05 -0000 Synopsis: typo in source code State-Changed-From-To: open->closed State-Changed-By: dchagin State-Changed-When: Wed Feb 23 15:49:37 UTC 2011 State-Changed-Why: Matching pairs of pthread_cleanup_push and pthread_cleanup_pop must occur in the same function, at the same level of block nesting. Actually, pthread_cleanup_push and pthread_cleanup_pop are macros, and the expansion of pthread_cleanup_push introduces an open brace { with the matching closing brace } being introduced by the expansion of the matching pthread_cleanup_pop. http://www.freebsd.org/cgi/query-pr.cgi?pr=154975