]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix bug # 746 - Windows FD crashes when job canceled
authorRobert Nelson <robertn@the-nelsons.org>
Sun, 4 Feb 2007 16:28:24 +0000 (16:28 +0000)
committerRobert Nelson <robertn@the-nelsons.org>
Sun, 4 Feb 2007 16:28:24 +0000 (16:28 +0000)
(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
bacula/src/win32/Makefile.inc.in

index 574b1a5cd36e94d6067376ba4362408c6b4a7b2b..4931e27110bfc4e82b0db086110f3fc72ea22f45 100755 (executable)
@@ -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?"":"!",
index 2e2ab519d1661f56d9b63c5cf914acd94582b57b..052a6ed9db2796f55a0be46f1e70e41ab43785a4 100644 (file)
@@ -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