Revision: 1221
Author: [email protected]
Date: Fri May  7 03:45:42 2010
Log: Oops, forgot to static the buffer in cx_block_type()

http://code.google.com/p/perl-devel-nytprof/source/detail?r=1221

Modified:
 /trunk/NYTProf.xs

=======================================
--- /trunk/NYTProf.xs   Fri May  7 02:03:36 2010
+++ /trunk/NYTProf.xs   Fri May  7 03:45:42 2010
@@ -966,7 +966,7 @@

 static const char *
 cx_block_type(PERL_CONTEXT *cx) {
-    char buf[20];
+    static char buf[20];
     switch (CxTYPE(cx)) {
     case CXt_NULL:              return "CXt_NULL";
     case CXt_SUB:               return "CXt_SUB";

--
You've received this message because you are subscribed to
the Devel::NYTProf Development User group.

Group hosted at:  http://groups.google.com/group/develnytprof-dev
Project hosted at:  http://perl-devel-nytprof.googlecode.com
CPAN distribution:  http://search.cpan.org/dist/Devel-NYTProf

To post, email:  [email protected]
To unsubscribe, email:  [email protected]

Reply via email to