Date: Wed, 23 Feb 2011 15:51:05 GMT From: dchagin@FreeBSD.org To: MarkelovEduard@gmail.com, dchagin@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: misc/154975: typo in source code Message-ID: <201102231551.p1NFp5Al041330@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102231551.p1NFp5Al041330>