Author: njn
Date: 2007-10-10 06:02:43 +0100 (Wed, 10 Oct 2007)
New Revision: 6973

Log:
wibble

Modified:
   branches/MASSIF2/massif/ms_main.c


Modified: branches/MASSIF2/massif/ms_main.c
===================================================================
--- branches/MASSIF2/massif/ms_main.c   2007-10-10 05:00:19 UTC (rev 6972)
+++ branches/MASSIF2/massif/ms_main.c   2007-10-10 05:02:43 UTC (rev 6973)
@@ -1911,6 +1911,12 @@
       VG_(err_bad_option)("--max-snapshots");
    }
 
+   // If we have --heap=no, set --heap-admin to zero, just to make sure we
+   // don't accidentally use a non-zero heap-admin size somewhere.
+   if (!clo_heap) {
+      clo_heap_admin = 0;
+   }
+
    // Print alloc-fns, if necessary.
    if (VG_(clo_verbosity) > 1) {
       i = 1;


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Valgrind-developers mailing list
Valgrind-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-developers

Reply via email to