From 68c4ed996f6dfbdc28d834f34b0f19c6f97f5877 Mon Sep 17 00:00:00 2001 From: Sebastian Wilhelmi Date: Mon, 20 Mar 2000 16:43:28 +0000 Subject: [PATCH] Forgot a '}' in a macro for DCE-threads. Thanks to Karl Nelson 2000-03-20 Sebastian Wilhelmi * gthread-posix.c (posix_check_for_error): Forgot a '}' in a macro for DCE-threads. Thanks to Karl Nelson for pointing that out. --- gthread/ChangeLog | 6 ++++++ gthread/gthread-posix.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gthread/ChangeLog b/gthread/ChangeLog index 42038ba66..800457403 100644 --- a/gthread/ChangeLog +++ b/gthread/ChangeLog @@ -1,3 +1,9 @@ +2000-03-20 Sebastian Wilhelmi + + * gthread-posix.c (posix_check_for_error): Forgot a '}' in a macro + for DCE-threads. Thanks to Karl Nelson + for pointing that out. + 2000-03-17 Sebastian Wilhelmi * gthread-posix.c: Don't use priorities for threads, when the diff --git a/gthread/gthread-posix.c b/gthread/gthread-posix.c index aeaac4610..13ba0c63c 100644 --- a/gthread/gthread-posix.c +++ b/gthread/gthread-posix.c @@ -55,7 +55,7 @@ # define condattr_default NULL #elif defined(G_THREADS_IMPL_DCE) # define posix_check_for_error( what ) G_STMT_START{ \ - if( (what) == -1 ) { posix_print_error( what, errno ); \ + if( (what) == -1 ) { posix_print_error( what, errno ); } \ }G_STMT_END # define pthread_key_create(a, b) pthread_keycreate (a, b) # define pthread_attr_init(a) pthread_attr_create (a)