From c978a58e7b71b727b379bc82fa67a3a81f3f613b Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Sun, 4 Feb 2007 16:28:24 +0000 Subject: [PATCH] Fix bug # 746 - Windows FD crashes when job canceled (This really is Windows FD crashes sometimes if debug level > 0 and status window is open) Add -g so we get symbols. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/branches/Branch-2.0@4096 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/filed/status.c | 2 +- bacula/src/win32/Makefile.inc.in | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bacula/src/filed/status.c b/bacula/src/filed/status.c index 574b1a5cd3..4931e27110 100755 --- a/bacula/src/filed/status.c +++ b/bacula/src/filed/status.c @@ -93,7 +93,7 @@ void output_status(void sendit(const char *msg, int len, void *sarg), void *arg) p_CreateFileA?"":"!", p_CreateFileW?"":"!"); sendit(msg, len, arg); - len = Mmsg(msg, " %sWUL,%sWMKD,%sWOP,%sGFAA,%sGFAW,%sGFAEA,%sGFAEW,%sSFAA,%sSFAW,%sBR,%sBW,%sSPSP,\n", + len = Mmsg(msg, " %sWUL,%sWMKD,%sGFAA,%sGFAW,%sGFAEA,%sGFAEW,%sSFAA,%sSFAW,%sBR,%sBW,%sSPSP,\n", p_wunlink?"":"!", p_wmkdir?"":"!", p_GetFileAttributesA?"":"!", diff --git a/bacula/src/win32/Makefile.inc.in b/bacula/src/win32/Makefile.inc.in index 2e2ab519d1..052a6ed9db 100644 --- a/bacula/src/win32/Makefile.inc.in +++ b/bacula/src/win32/Makefile.inc.in @@ -31,8 +31,8 @@ OBJCPY := $(MINGW_BIN)/mingw32-objcopy NSIS_DIR := $(DEPKGS)/nsis STAB2CV := $(DEPKGS)/tools/bin/stab2cv -CFLAGS := -Wall -mno-cygwin -m32 -mwin32 -mthreads -O3 -fno-strict-aliasing -LDFLAGS := -Wall -mno-cygwin -Wl,--disable-auto-import +CFLAGS := -g -Wall -mno-cygwin -m32 -mwin32 -mthreads -O3 -fno-strict-aliasing +LDFLAGS := -g -Wall -mno-cygwin -Wl,--disable-auto-import INCLUDE_DDK := -I$(MINGW_INCLUDE)/ddk INCLUDE_BACULA := -I../.. -I../compat -- 2.39.2