|
From: Carlo W. <li...@us...> - 2002-01-10 14:33:14
|
CVSROOT : /cvsroot/libcw
Module : src
Commit time: 2002-00-10 14:33:11 UTC
Modified files:
libcwd/debug.cc
Log message:
Bug fix for --enable-libcwd-debug --disable-libcwd-debug-output
---------------------- diff included ----------------------
Index: src/libcwd/debug.cc
diff -u src/libcwd/debug.cc:1.51 src/libcwd/debug.cc:1.52
--- src/libcwd/debug.cc:1.51 Tue Jan 8 15:50:16 2002
+++ src/libcwd/debug.cc Thu Jan 10 06:33:01 2002
@@ -1,4 +1,4 @@
-// $Header: /cvsroot/l/li/libcw/src/libcwd/debug.cc,v 1.51 2002/01/08 23:50:16 libcw Exp $
+// $Header: /cvsroot/l/li/libcw/src/libcwd/debug.cc,v 1.52 2002/01/10 14:33:01 libcw Exp $
//
// Copyright (C) 2000 - 2001, by
//
@@ -954,7 +954,7 @@
// The cast is necessary on platforms where corelim.rlim_max is long long
// and libstdc++ was not compiled with support for long long.
Dout(dc::warning, "core size is limited (hard limit: " << (unsigned long)(corelim.rlim_max / 1024) << " kb). Core dumps might be truncated!");
-#ifndef DEBUGDEBUG
+#ifndef DEBUGDEBUGOUTPUT
_off = 0;
#endif
}
@@ -963,7 +963,7 @@
#else
_off = -1;
Dout(dc::warning, "Please unlimit core size manually");
-#ifndef DEBUGDEBUG
+#ifndef DEBUGDEBUGOUTPUT
_off = 0;
#endif
#endif
----------------------- End of diff -----------------------
|