Purify: Array bounds write: pre-extend the strxfrm
authorJarkko Hietaniemi <jhi@iki.fi>
Sat, 23 Mar 2002 01:00:31 +0000 (01:00 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Sat, 23 Mar 2002 01:00:31 +0000 (01:00 +0000)
commit37cda61e6cf9e214e2616d0104296009da3b1231
treea1061f21df76f8894b0f82cfec2916ad6d2c1d89
parent8a996ce8d00364c0bbcf12b34586652aab085a22
Purify: Array bounds write: pre-extend the strxfrm
buffer by a factor of four (suggested maximum by HP-UX;
Solaris suggests using 1 + strxfrm(NULL, s, 0) but I don't
know how portable that is; locale.c uses yet another trick
(not a particularly good trick, I might add))

p4raw-id: //depot/perl@15435
ext/POSIX/POSIX.xs