* bus/dir-watch-dnotify.c: move functional code after
variable declerations (C99 fix) (patches from Jens Granseuer
<jensgr at gmx dot net>
2006-08-10 John (J5) Palmieri <johnp@redhat.com>
+ * configure.in: make sure the compiler supports -Wfloat-equal
+
+ * bus/dir-watch-dnotify.c: move functional code after
+ variable declerations (C99 fix) (patches from Jens Granseuer
+ <jensgr at gmx dot net>
+
+2006-08-10 John (J5) Palmieri <johnp@redhat.com>
+
* dbus/dbus-macros.h:
add #include <stddef.h> so that Sun compilers don't complain about
the defining NULL
void
bus_drop_all_directory_watches (void)
{
- _dbus_verbose ("Dropping all watches on config directories\n");
-
int i;
-
+
+ _dbus_verbose ("Dropping all watches on config directories\n");
+
for (i = 0; i < num_fds; i++)
{
if (close (fds[i]) != 0)
case " $CFLAGS " in
*[\ \ ]-Wfloat-equal[\ \ ]*) ;;
- *) CFLAGS="$CFLAGS -Wfloat-equal" ;;
+ *) if cc_supports_flag -Wfloat-equals; then
+ CFLAGS="$CFLAGS -Wfloat-equal"
+ fi
+ ;;
esac
case " $CFLAGS " in