Ignore:
Timestamp:
Jul 15, 2009, 10:41:01 AM (15 years ago)
Author:
rosiere
Message:

1) valgrind fix
2) debug file on/off

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Common/src/Message.cpp

    r124 r134  
    1616  static bool log_initialized;
    1717  FILE * log_stream;
     18  bool   log_file_generate;
    1819 
    1920#undef  FUNCTION
     
    3536    if (not log_initialized)
    3637      {
    37         log_initialized = true;
     38        log_initialized   = true;
     39        log_file_generate = have_file;
    3840
    3941        if (have_file)
     
    4951           
    5052            log_stream = fopen (filename.c_str(), "w");
    51            
     53
    5254            if (log_stream==NULL)
    5355              {
Note: See TracChangeset for help on using the changeset viewer.