From: Sebastian Wilhelmi Date: Wed, 16 Dec 1998 10:32:12 +0000 (+0000) Subject: Fixed stupid bug, that made g_static_mutex_lock(*mutex) not work as X-Git-Tag: GLIB_1_1_8a~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c9cc6c858ed93d2d7a6ea3b3003d7d165e9d96ca;p=platform%2Fupstream%2Fglib.git Fixed stupid bug, that made g_static_mutex_lock(*mutex) not work as 1998-12-16 Sebastian Wilhelmi * configure.in: Fixed stupid bug, that made g_static_mutex_lock(*mutex) not work as expected. --- diff --git a/ChangeLog b/ChangeLog index ff87d1e..976a94f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 1998-12-16 Sebastian Wilhelmi + * configure.in: Fixed stupid bug, that made + g_static_mutex_lock(*mutex) not work as expected. + * docs/glib-config.1: Updated to reflect the existence of gthread. * gmain.c (g_main_poll_add_unlocking): Changed diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index ff87d1e..976a94f 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,5 +1,8 @@ 1998-12-16 Sebastian Wilhelmi + * configure.in: Fixed stupid bug, that made + g_static_mutex_lock(*mutex) not work as expected. + * docs/glib-config.1: Updated to reflect the existence of gthread. * gmain.c (g_main_poll_add_unlocking): Changed diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index ff87d1e..976a94f 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,8 @@ 1998-12-16 Sebastian Wilhelmi + * configure.in: Fixed stupid bug, that made + g_static_mutex_lock(*mutex) not work as expected. + * docs/glib-config.1: Updated to reflect the existence of gthread. * gmain.c (g_main_poll_add_unlocking): Changed diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index ff87d1e..976a94f 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,5 +1,8 @@ 1998-12-16 Sebastian Wilhelmi + * configure.in: Fixed stupid bug, that made + g_static_mutex_lock(*mutex) not work as expected. + * docs/glib-config.1: Updated to reflect the existence of gthread. * gmain.c (g_main_poll_add_unlocking): Changed diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index ff87d1e..976a94f 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,5 +1,8 @@ 1998-12-16 Sebastian Wilhelmi + * configure.in: Fixed stupid bug, that made + g_static_mutex_lock(*mutex) not work as expected. + * docs/glib-config.1: Updated to reflect the existence of gthread. * gmain.c (g_main_poll_add_unlocking): Changed diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index ff87d1e..976a94f 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,5 +1,8 @@ 1998-12-16 Sebastian Wilhelmi + * configure.in: Fixed stupid bug, that made + g_static_mutex_lock(*mutex) not work as expected. + * docs/glib-config.1: Updated to reflect the existence of gthread. * gmain.c (g_main_poll_add_unlocking): Changed diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index ff87d1e..976a94f 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,5 +1,8 @@ 1998-12-16 Sebastian Wilhelmi + * configure.in: Fixed stupid bug, that made + g_static_mutex_lock(*mutex) not work as expected. + * docs/glib-config.1: Updated to reflect the existence of gthread. * gmain.c (g_main_poll_add_unlocking): Changed diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index ff87d1e..976a94f 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,5 +1,8 @@ 1998-12-16 Sebastian Wilhelmi + * configure.in: Fixed stupid bug, that made + g_static_mutex_lock(*mutex) not work as expected. + * docs/glib-config.1: Updated to reflect the existence of gthread. * gmain.c (g_main_poll_add_unlocking): Changed diff --git a/configure.in b/configure.in index 42ca0ff..d060709 100644 --- a/configure.in +++ b/configure.in @@ -837,8 +837,8 @@ struct _GStaticMutex }; #define G_STATIC_MUTEX_INIT { $g_mutex_default_init, NULL } #define g_static_mutex_get_mutex(mutex) \ - ( g_thread_use_default_impl ? (GMutex*)&mutex.default_mutex : \ - g_static_mutex_get_mutex_impl(&mutex.runtime_mutex) ) + ( g_thread_use_default_impl ? (GMutex*)&(mutex).default_mutex : \ + g_static_mutex_get_mutex_impl(&(mutex).runtime_mutex) ) outfile_EOF else cat >>$outfile <