Report it using "send-pr".  That way the problem will make its way into the
bug tracking system.

In message <[email protected]>, Mikolaj Golub writes:
> Hi,
> 
> I have problems with compiling our application under 8.0.
> 
> It fails due to these definitions in pthread.h that look like a typo or
> incorrectly applied patch:
> 
>     170 #define         pthread_cleanup_push(cleanup_routine, cleanup_arg)    
>    
>        \
>     171                 {                                                     
>    
>        \
>     172                         struct _pthread_cleanup_info 
> __cleanup_info__;   
>        \
>     173                         __pthread_cleanup_push_imp(cleanup_routine, 
> clean
> up_arg,\
>     174                                 &__cleanup_info__);                   
>    
>        \
>     175                         {
>     176 
>     177 #define         pthread_cleanup_pop(execute)                          
>    
>        \
>     178                         }                                             
>    
>        \
>     179                         __pthread_cleanup_pop_imp(execute);           
>    
>        \
>     180                 }
> 
> 
> This patch fixes the problem for me:
> 
> --- pthread.h.orig    2009-11-24 16:44:13.000000000 +0200
> +++ pthread.h   2009-11-24 16:44:45.000000000 +0200
> @@ -172,10 +172,10 @@
>                         struct _pthread_cleanup_info __cleanup_info__;        
>   \
>                         __pthread_cleanup_push_imp(cleanup_routine, 
> cleanup_arg,\
>                                 &__cleanup_info__);                           
>   \
> -                       {
> +               }       
>  
>  #define                pthread_cleanup_pop(execute)                          
>    
>        \
> -                       }                                                     
>   \
> +               {                                                       \
>                         __pthread_cleanup_pop_imp(execute);                   
>   \
>                 }
> 
> -- 
> Mikolaj Golub
> _______________________________________________
> [email protected] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "[email protected]"
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: [email protected]
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[email protected]"

Reply via email to