From: John (J5) Palmieri Date: Mon, 2 Oct 2006 18:45:27 +0000 (+0000) Subject: * dbus/dbus-sysdeps.c (_dbus_abort): Remove from X-Git-Tag: dbus-0.94~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff99239bd429cb3335406dff1761a0a54ad2996b;p=thirdparty%2Fdbus.git * dbus/dbus-sysdeps.c (_dbus_abort): Remove from #ifndef DBUS_DISABLE_ASSERTS macro to fix distcheck * dbus/dbus-sysdeps-unix.c (_dbus_print_backtrace): Remove from #if !defined (DBUS_DISABLE_ASSERT) || defined(DBUS_BUILD_TESTS) macro because _dbus_abort calls it * tools/Makefile.am: Add dbus-launch.h to the source list so distcheck works --- diff --git a/ChangeLog b/ChangeLog index ae3609913..ec7419506 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2006-10-02 John (J5) Palmieir + + * dbus/dbus-sysdeps.c (_dbus_abort): Remove from + #ifndef DBUS_DISABLE_ASSERTS macro to fix distcheck + + * dbus/dbus-sysdeps-unix.c (_dbus_print_backtrace): Remove from + #if !defined (DBUS_DISABLE_ASSERT) || defined(DBUS_BUILD_TESTS) + macro because _dbus_abort calls it + + * tools/Makefile.am: Add dbus-launch.h to the source list so distcheck + works + 2006-10-02 John (J5) Palmieir * dbus/dbus-sysdeps-util-unix.c (dirent_buf_size): Add check for diff --git a/configure.in b/configure.in index 1be4a96c7..b3a50ecb8 100644 --- a/configure.in +++ b/configure.in @@ -5,7 +5,7 @@ AC_INIT(dbus/dbus.h) AC_CANONICAL_TARGET -AM_INIT_AUTOMAKE(dbus, 0.94) +AM_INIT_AUTOMAKE(dbus, 0.93.1) AM_CONFIG_HEADER(config.h) diff --git a/dbus/dbus-sysdeps-unix.c b/dbus/dbus-sysdeps-unix.c index 22ef99691..ce565884f 100644 --- a/dbus/dbus-sysdeps-unix.c +++ b/dbus/dbus-sysdeps-unix.c @@ -2127,7 +2127,6 @@ _dbus_set_fd_nonblocking (int fd, return TRUE; } -#if !defined (DBUS_DISABLE_ASSERT) || defined(DBUS_BUILD_TESTS) /** * On GNU libc systems, print a crude backtrace to stderr. On other * systems, print "no backtrace support" and block for possible gdb @@ -2162,7 +2161,6 @@ _dbus_print_backtrace (void) fprintf (stderr, " D-Bus not compiled with backtrace support so unable to print a backtrace\n"); #endif } -#endif /* asserts or tests enabled */ /** * Creates a full-duplex pipe (as in socketpair()). diff --git a/dbus/dbus-sysdeps.c b/dbus/dbus-sysdeps.c index b7040abf3..d1a486174 100644 --- a/dbus/dbus-sysdeps.c +++ b/dbus/dbus-sysdeps.c @@ -53,7 +53,7 @@ _DBUS_DEFINE_GLOBAL_LOCK (sid_atom_cache); * @addtogroup DBusInternalsUtils * @{ */ -#ifndef DBUS_DISABLE_ASSERT + /** * Aborts the program with SIGABRT (dumping core). */ @@ -75,7 +75,6 @@ _dbus_abort (void) abort (); _dbus_exit (1); /* in case someone manages to ignore SIGABRT ? */ } -#endif /** * Wrapper for setenv(). If the value is #NULL, unsets diff --git a/tools/Makefile.am b/tools/Makefile.am index e53b47a9d..613b71588 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -16,7 +16,8 @@ dbus_monitor_SOURCES= \ dbus_launch_SOURCES= \ dbus-launch.c \ - dbus-launch-x11.c + dbus-launch-x11.c \ + dbus-launch.h dbus_cleanup_sockets_SOURCES= \ dbus-cleanup-sockets.c