sv.c: Remove overflow check in utf8 length cache
authorFather Chrysostomos <sprout@cpan.org>
Sun, 21 Jul 2013 13:56:07 +0000 (06:56 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Tue, 23 Jul 2013 21:55:13 +0000 (14:55 -0700)
commitab0894e548ee5755214913c09ee98d7335bcb698
tree6e38245438697a217cfac47ca36ce955c521a282
parent6174b39a88cd48740c024cfb6035edb6ffed9f2d
sv.c: Remove overflow check in utf8 length cache

In order to make large values of pos() possible, the previous commit
enlarged the mg_len field of the magic struct.  That field is also
used for cached utf8 length values.  Since it is now large enough to
store any length the OS/compiler supports, the overflow never happens.
sv.c