Author: joe
Date: 2006-11-13 16:34:41 -0500 (Mon, 13 Nov 2006)
New Revision: 67794
Modified:
trunk/heap-shot/ChangeLog
trunk/heap-shot/profiler/heap-shot.c
Log:
2006-11-13 Joe Shaw <[EMAIL PROTECTED]>
* profiler/heap-shot.c (mono_profiler_startup): Fix an
off-by-one in counting the length of the name "heap-shot".
Modified: trunk/heap-shot/ChangeLog
===================================================================
--- trunk/heap-shot/ChangeLog 2006-11-13 21:33:55 UTC (rev 67793)
+++ trunk/heap-shot/ChangeLog 2006-11-13 21:34:41 UTC (rev 67794)
@@ -1,3 +1,8 @@
+2006-11-13 Joe Shaw <[EMAIL PROTECTED]>
+
+ * profiler/heap-shot.c (mono_profiler_startup): Fix an
+ off-by-one in counting the length of the name "heap-shot".
+
2006-11-13 Lluis Sanchez Gual <[EMAIL PROTECTED]>
* HeapShot/ReferenceTreeReport.cs: Track api changes.
Modified: trunk/heap-shot/profiler/heap-shot.c
===================================================================
--- trunk/heap-shot/profiler/heap-shot.c 2006-11-13 21:33:55 UTC (rev
67793)
+++ trunk/heap-shot/profiler/heap-shot.c 2006-11-13 21:34:41 UTC (rev
67794)
@@ -379,7 +379,7 @@
const char *outfilename;
- g_assert (! strncmp (desc, "heap-shot", 10));
+ g_assert (! strncmp (desc, "heap-shot", 9));
outfilename = strchr (desc, ':');
if (outfilename == NULL)
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches