On Wed, 2007-09-26 at 11:03 +0100, Denys Vlasenko wrote:
> hi Ian,
> 
> I have glibc 2.4.0 installed, and it expands pthread_cleanup_pop(1) into:
> 
>       } while (0); __pthread_unregister_cancel (&__cancel_buf); if (1) 
> __cancel_routine (__cancel_arg); } while (0);
> 
> This doesn't compile if you have a label before it.
> gcc 4.2.1 says "error: label at end of compound statement".
> 
> This patch works around it by adding extra semicolon.

Cool, I'll test this out and commit it.
Thanks


_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to