Re: pthread.h small problem

2005-06-03 Thread Yuval Turgeman
On 6/2/05, Christopher Faylor <[EMAIL PROTECTED]> wrote: > On Thu, Jun 02, 2005 at 12:52:56PM -0700, Shankar Unni wrote: > >I'm pretty sure the braces are placed like that *deliberately*, to force > >you to bracket code with the two macros or get a syntax error. > > correct. Got it... I can't use

Re: pthread.h small problem

2005-06-02 Thread Christopher Faylor
On Thu, Jun 02, 2005 at 12:52:56PM -0700, Shankar Unni wrote: >Yuval Turgeman wrote: >>Hi, >>The pthread_cleanup_push and pthread_cleanup_pop macros seems to be >>broken in the CVS (misplaced brackets). I hope I'm not posting to the >>wrong list, but here's the patch... > >I'm pretty sure the brac

Re: pthread.h small problem

2005-06-02 Thread Shankar Unni
Yuval Turgeman wrote: Hi, The pthread_cleanup_push and pthread_cleanup_pop macros seems to be broken in the CVS (misplaced brackets). I hope I'm not posting to the wrong list, but here's the patch... I'm pretty sure the braces are placed like that *deliberately*, to force you to bracket code

pthread.h small problem

2005-06-02 Thread Yuval Turgeman
Hi, The pthread_cleanup_push and pthread_cleanup_pop macros seems to be broken in the CVS (misplaced brackets). I hope I'm not posting to the wrong list, but here's the patch... --- ./winsup/cygwin/include/pthread.h.orig 2005-06-02 20:34:00.0 +0300 +++ ./winsup/cygwin/include/pthread