From: Havoc Pennington Date: Fri, 26 Nov 2004 06:30:38 +0000 (+0000) Subject: 2004-11-26 Havoc Pennington X-Git-Tag: dbus-0.23~71 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7fc350740c64ebd095615b8384de0bce0b4d8074;p=thirdparty%2Fdbus.git 2004-11-26 Havoc Pennington * dbus/dbus-threads.c (init_global_locks): forgot to put the message cache lock here --- diff --git a/ChangeLog b/ChangeLog index fe1f8a166..51fee4dec 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2004-11-26 Havoc Pennington - + + * dbus/dbus-threads.c (init_global_locks): forgot to put the + message cache lock here + +2004-11-26 Havoc Pennington + * dbus/dbus-message.c (struct DBusMessage): put the locked bit and the "char byte_order" next to each other to save 4 bytes (dbus_message_new_empty_header): reduce preallocation, since the diff --git a/dbus/dbus-threads.c b/dbus/dbus-threads.c index b3ab132dd..3d1de5ef5 100644 --- a/dbus/dbus-threads.c +++ b/dbus/dbus-threads.c @@ -229,7 +229,8 @@ init_global_locks (void) LOCK_ADDR (atomic), LOCK_ADDR (bus), LOCK_ADDR (shutdown_funcs), - LOCK_ADDR (system_users) + LOCK_ADDR (system_users), + LOCK_ADDR (message_cache) #undef LOCK_ADDR };