octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #34210] profile.m test abort


From: Tatsuro MATSUOKA
Subject: [Octave-bug-tracker] [bug #34210] profile.m test abort
Date: Tue, 27 Sep 2011 23:44:24 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.186 Safari/535.1

Follow-up Comment #9, bug #34210 (project octave):

I have tried an intrusive huck but the huck suppresses the output.
 

--- profiler.cc.orig    2011-09-27 08:41:37 +0900
+++ profiler.cc 2011-09-28 07:45:29 +0900
@@ -385,7 +385,10 @@
 profile_data_accumulator::query_time (void) const
 {
   octave_time now;
-  return now.double_value ();
+  double ora = now.double_value ();
+  char buff[64];
+  snprintf(buff,sizeof(buff), "Ora %e n", ora);
+  return ora ;
 }

 void


As you told, we will need to do the action for this bug. But I have no idea to
make a small test case.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?34210>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]