Branch: Tag:

2001-06-29

2001-06-29 16:59:09 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Backported init_string_builder() fixes from Pike 7.3.

Rev: src/stralloc.c:1.117

26:   #define HUGE HUGE_VAL   #endif /*!HUGE*/    - RCSID("$Id: stralloc.c,v 1.116 2001/06/21 00:23:57 per Exp $"); + RCSID("$Id: stralloc.c,v 1.117 2001/06/29 16:59:09 grubba Exp $");      #define BEGIN_HASH_SIZE 997   #define MAX_AVG_LINK_LENGTH 3
1767:    s->malloced=256;    s->s=begin_wide_shared_string(256,mag);    s->s->len=0; +  s->s->str[0] = 0;    s->known_shift=0;   }   
1775:    s->malloced=length;    s->s=begin_wide_shared_string(length,mag);    s->s->len=0; +  s->s->str[0] = 0;    s->known_shift=0;   }