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

nam-1.03 bug fix....



 
I recently compiled nam-1.-0a3 for Digital Unix 4.0 and found that it only 
worked on some of the outputs from ns2.1b1 when used on the example 
files within ns2.1b1/tcl/ex.

Subsequent investigation revealed that nam's core dumping was due 
to a fauilure to initialize the now_ memebr of the contructor for 
the Trace class defined in trace.cc

Changing the constructor at around line 94 of trace.cc appears to solve 
the problem.

Change from
------------
/*
 * Minimum time on the nam time slider is the time of the first
 * trace event.
 */
mintime_ = nextTime();
-------------

to

------------
/*
 * Minimum time on the nam time slider is the time of the first
 * trace event.
 */
mintime_ = nextTime();
now_     = mintime_;
------------

Roger



Roger Kermode					    Research Assistant
[email protected]				    tel : +1 617 253 0341
Entertainment & Information Systems Group	    fax : +1 617 258 6264
MIT Media Lab, 20 Ames St, RmE15-354, Cambridge, MA 02139 USA