Re: Possible bug in new string COW code

2002-08-21 Thread Mike Lambert
> Reading through the latest version of string.c, pondering the > best way to integrate the grey and (what colour is cvs parrot?) > versions, I came across the following line in unmake_COW: > s->buflen = s->strlen; > which got be a little confused - I seem to recall buflen as being > in by

Possible bug in new string COW code

2002-08-21 Thread Peter Gibbs
Reading through the latest version of string.c, pondering the best way to integrate the grey and (what colour is cvs parrot?) versions, I came across the following line in unmake_COW: s->buflen = s->strlen; which got be a little confused - I seem to recall buflen as being in bytes, and str