develooper Front page | perl.perl6.internals | Postings from August 2002

Possible bug in new string COW code

Thread Next
Peter Gibbs
August 21, 2002 12:19
Possible bug in new string COW code
Message ID:
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 strlen as being in encoding-defined characters.
Did something change when I wasn't looking, or is this a bug
just waiting for somebody to actually implement Unicode?
Peter Gibbs
EmKel Systems

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About