Difference for src/fstream_namd.C from version 1.3 to 1.4

version 1.3version 1.4
Line 2
Line 2
 #include "fstream_namd.h" #include "fstream_namd.h"
 #include "common.h" #include "common.h"
  
  void ofstream_namd::open(const char *_fname, const char *_ext) {
    if ( fd ) NAMD_bug("ofstream_namd::open() called when file is already open");
    NAMD_backup_file(_fname, _ext);
    open(_fname);
  }
  
 void ofstream_namd::open(const char *_fname, std::ios_base::openmode _mode) { void ofstream_namd::open(const char *_fname, std::ios_base::openmode _mode) {
   if ( fd ) NAMD_bug("ofstream_namd::open() called when file is already open");   if ( fd ) NAMD_bug("ofstream_namd::open() called when file is already open");
   fname = _fname;   fname = _fname;


Legend:
Removed in v.1.3 
changed lines
 Added in v.1.4



Made by using version 1.53 of cvs2html