Diff for /parser3/src/main/pa_uue.C between versions 1.4.2.5 and 1.5

version 1.4.2.5, 2003/02/04 12:08:57 version 1.5, 2003/07/24 11:31:24
Line 23  static unsigned char uue_table[64] = { Line 23  static unsigned char uue_table[64] = {
   'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W',    'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W',
   'X', 'Y', 'Z', '[', '\\',']', '^', '_'    'X', 'Y', 'Z', '[', '\\',']', '^', '_'
 };  };
 void pa_uuencode(Pool& pool, String& result, StringPtr file_name, const VFile& vfile) {  void pa_uuencode(String& result, const String& file_name, const VFile& vfile) {
         //header          //header
         result << "content-transfer-encoding: x-uuencode\n" << "\n";          result << "content-transfer-encoding: x-uuencode\n" << "\n";
         result << "begin 644 " << *file_name << "\n";          result << "begin 644 " << file_name << "\n";
   
         //body          //body
         const unsigned char *in=(const unsigned char *)vfile.value_ptr();          const unsigned char *in=(const unsigned char *)vfile.value_ptr();
Line 39  void pa_uuencode(Pool& pool, String& res Line 39  void pa_uuencode(Pool& pool, String& res
                 if((itemp+count)>(in+in_length))                   if((itemp+count)>(in+in_length)) 
                         count=in_length-(itemp-in);                          count=in_length-(itemp-in);
   
                 char *buf=new(pool) char[MAX_STRING];                  char *buf=new(PointerFreeGC) char[MAX_STRING];
                 char *optr=buf;                  char *optr=buf;
                                   
                 /*                  /*
Line 81  void pa_uuencode(Pool& pool, String& res Line 81  void pa_uuencode(Pool& pool, String& res
         }          }
                   
         //footer          //footer
         result.APPEND_AS_IS((const char* )uue_table, 1/* one char */, 0, 0) << "\n"          result.append_know_length((const char* )uue_table, 1/* one char */, String::L_AS_IS) << "\n"
                 "end\n";                  "end\n";
 }  }

Removed from v.1.4.2.5  
changed lines
  Added in v.1.5


E-mail: