[mapguide-commits] r4935 - sandbox/adsk/2.1/Server/src/Core
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Fri Jun 4 17:46:25 EDT 2010
Author: brucedechant
Date: 2010-06-04 17:46:25 -0400 (Fri, 04 Jun 2010)
New Revision: 4935
Modified:
sandbox/adsk/2.1/Server/src/Core/main.cpp
Log:
Fix for trac ticket 1110.
http://trac.osgeo.org/mapguide/ticket/1110
Notes:
- Set memory checking to report only and not abort on Linux. (ie: Report double frees without aborting)
Note this does not apply to Windows because it does not abort on memory checks.
Modified: sandbox/adsk/2.1/Server/src/Core/main.cpp
===================================================================
--- sandbox/adsk/2.1/Server/src/Core/main.cpp 2010-06-04 12:10:18 UTC (rev 4934)
+++ sandbox/adsk/2.1/Server/src/Core/main.cpp 2010-06-04 21:46:25 UTC (rev 4935)
@@ -71,6 +71,11 @@
// we need initialize Xerces before BDB
XMLPlatformUtils::Initialize();
+#ifndef _WIN32
+ // Set memory checking to report only and not abort
+ mallopt(M_CHECK_ACTION, 1);
+#endif
+
MG_TRY()
{
More information about the mapguide-commits
mailing list