John (J5) Palmieri <johnp@redhat.com>
authorJohn (J5) Palmieri <johnp@redhat.com>
Mon, 25 Oct 2004 18:48:58 +0000 (18:48 +0000)
committerJohn (J5) Palmieri <johnp@redhat.com>
Mon, 25 Oct 2004 18:48:58 +0000 (18:48 +0000)
        * dbus/dbus-sysdeps.c (fill_user_info): On errors do not free
        the DBusUserInfo structure since this is passed into the function.
        This would cause a double free when the function that allocated
        the structure would try to free it when an error occured.

        * (bus/session.conf.in, bus/Makefile.am, dbus/configure.in):
        use /usr/share/dbus-1/services instead of /usr/lib/dbus-1.0/services
        for service activation to avoid 32bit/64bit parallel install issues

ChangeLog
bus/Makefile.am
bus/session.conf.in
configure.in
dbus/dbus-sysdeps.c

index cf7ec2f..c8f2349 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2004-10-25  John (J5) Palmieri  <johnp@redhat.com>
+
+       * dbus/dbus-sysdeps.c (fill_user_info): On errors do not free
+       the DBusUserInfo structure since this is passed into the function.
+       This would cause a double free when the function that allocated
+       the structure would try to free it when an error occured.
+
+       * (bus/session.conf.in, bus/Makefile.am, dbus/configure.in):
+       use /usr/share/dbus-1/services instead of /usr/lib/dbus-1.0/services
+       for service activation to avoid 32bit/64bit parallel install issues
+
 2004-10-21  Colin Walters  <walters@verbum.org>
 
        * AUTHORS: Fix my email address, the @gnu.org one
index a9761be..218c6a5 100644 (file)
@@ -92,7 +92,7 @@ clean-local:
 install-data-hook:
        $(mkinstalldirs) $(DESTDIR)/$(localstatedir)/run/dbus
        $(mkinstalldirs) $(DESTDIR)/$(configdir)/system.d
-       $(mkinstalldirs) $(DESTDIR)/$(libdir)/dbus-1.0/services
+       $(mkinstalldirs) $(DESTDIR)/$(datadir)/dbus-1/services
 
 #### Init scripts fun
 SCRIPT_IN_FILES=messagebus.in
index a537d9d..8b6d65f 100644 (file)
@@ -10,7 +10,7 @@
 
   <listen>unix:tmpdir=@DBUS_SESSION_SOCKET_DIR@</listen>
 
-  <servicedir>@EXPANDED_LIBDIR@/dbus-1.0/services</servicedir>
+  <servicedir>@EXPANDED_DATADIR@/dbus-1/services</servicedir>
 
   <policy context="default">
     <!-- Allow everything to be sent -->
index ea25336..e9c6c10 100644 (file)
@@ -984,6 +984,10 @@ LIBDIR_TMP="$libdir"
 EXPANDED_LIBDIR=`eval echo $LIBDIR_TMP`
 AC_SUBST(EXPANDED_LIBDIR)
 
+DATADIR_TMP="$datadir"
+EXPANDED_DATADIR=`eval echo $DATADIR_TMP`
+AC_SUBST(EXPANDED_DATADIR)
+
 ## put prefix and exec_prefix back
 prefix=$old_prefix
 exec_prefix=$old_exec_prefix
@@ -1168,6 +1172,7 @@ echo "
         bindir:                   ${EXPANDED_BINDIR}
         sysconfdir:               ${EXPANDED_SYSCONFDIR}
         localstatedir:            ${EXPANDED_LOCALSTATEDIR}
+       datadir:              ${EXPANDED_DATADIR}
        source code location:     ${srcdir}
        compiler:                 ${CC}
        cflags:                   ${CFLAGS}
index 80188e4..e1b786f 100644 (file)
@@ -1566,7 +1566,6 @@ fill_user_info (DBusUserInfo       *info,
   
  failed:
   _DBUS_ASSERT_ERROR_IS_SET (error);
-  _dbus_user_info_free (info);
   return FALSE;
 }