Diff for /parser3/src/classes/file.C between versions 1.1 and 1.2

version 1.1, 2001/03/19 20:08:12 version 1.2, 2001/03/19 20:46:35
Line 20  static void _save(Request& r, const Stri Line 20  static void _save(Request& r, const Stri
         //\Pool& pool=r.pool();          //\Pool& pool=r.pool();
         Value *vfile_name=static_cast<Value *>(params->get(0));          Value *vfile_name=static_cast<Value *>(params->get(0));
         // forcing          // forcing
         // ^save[this body type]           // ^save{this body type}
         r.fail_if_junction_(true, *vfile_name,           r.fail_if_junction_(false, *vfile_name, method_name, "file name must be junction");
                 method_name, "file name must not be junction");  
   
         static_cast<VFile *>(r.self)->save(r.absolute(vfile_name->as_string().cstr()));          {
                   Temp_lang temp_lang(r, String::Untaint_lang::FILE);
                   static_cast<VFile *>(r.self)->save(
                           r.absolute(r.process(*vfile_name).as_string().cstr()));
           }
 }  }
   
 // initialize  // initialize

Removed from v.1.1  
changed lines
  Added in v.1.2


E-mail: