[Box Backup-commit] COMMIT r1221 - box/chris/merge/lib/common

boxbackup-dev@fluffy.co.uk boxbackup-dev@fluffy.co.uk
Fri, 15 Dec 2006 09:19:27 +0000


Author: chris
Date: 2006-12-15 09:19:27 +0000 (Fri, 15 Dec 2006)
New Revision: 1221

Modified:
   box/chris/merge/lib/common/DebugMemLeakFinder.cpp
Log:
Disable standard library memory leak debugging, as it causes hangs on FC2


Modified: box/chris/merge/lib/common/DebugMemLeakFinder.cpp
===================================================================
--- box/chris/merge/lib/common/DebugMemLeakFinder.cpp	2006-12-15 00:18:52 UTC (rev 1220)
+++ box/chris/merge/lib/common/DebugMemLeakFinder.cpp	2006-12-15 09:19:27 UTC (rev 1221)
@@ -461,10 +461,14 @@
 
 // where there is no doctor... need to override standard new() too
 // http://www.relisoft.com/book/tech/9new.html
+// disabled because it causes hangs on FC2 in futex() in test/common
+// while reading files. reason unknown.
+/*
 void *operator new(size_t size)
 {
 	return internal_new(size, "standard libraries", 0);
 }
+*/
 
 void *operator new[](size_t size)
 {