Diff for /parser3/src/main/pa_string.C between versions 1.74 and 1.75

version 1.74, 2001/04/06 13:41:32 version 1.75, 2001/04/09 09:48:20
Line 26 Line 26
   
 // String  // String
   
 String::String(Pool& apool, const char *src, bool tasize_ted) :  String::String(Pool& apool, const char *src, size_t src_size, bool tainted) :
         Pooled(apool) {          Pooled(apool) {
         last_chunk=&head;          last_chunk=&head;
         head.count=CR_PREALLOCATED_COUNT;          head.count=CR_PREALLOCATED_COUNT;
Line 36  String::String(Pool& apool, const char * Line 36  String::String(Pool& apool, const char *
         fused_rows=fsize=0;          fused_rows=fsize=0;
   
         if(src)          if(src)
                 if(tasize_ted)                  if(tainted)
                         APPEND_TAINTED(src, 0, 0, 0);                          APPEND_TAINTED(src, src_size, 0, 0);
                 else                  else
                         APPEND_CONST(src);                          APPEND_CLEAN(src, src_size, 0, 0);
 }  }
   
 void String::expand() {  void String::expand() {

Removed from v.1.74  
changed lines
  Added in v.1.75


E-mail: