From be9efc2225c437b89ff72a2ce09e100fbcbb1fb0 Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Sun, 15 Nov 2015 19:54:03 +0100 Subject: [PATCH] Fix recursive loop in backtrace generator on windows. Backtrace generator called _dbus_warn(), which calls backtrace generator recursively with DBUS_FATAL_WARNINGS=1. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=92721 --- dbus/dbus-sysdeps-win.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbus/dbus-sysdeps-win.c b/dbus/dbus-sysdeps-win.c index 61da703..fb14e40 100644 --- a/dbus/dbus-sysdeps-win.c +++ b/dbus/dbus-sysdeps-win.c @@ -2403,7 +2403,7 @@ _dbus_delete_file (const DBusString *filename, #include #include -#define DPRINTF _dbus_warn +#define DPRINTF(fmt, ...) fprintf (stderr, fmt, ##__VA_ARGS__) #ifdef _MSC_VER #define BOOL int -- 1.8.4.5