Re: [libjava] Fix md5test, shatest on Tru64 UNIX with native libiconv (PR libgcj/49314)

2011-06-21 Thread Andrew Haley
On 06/21/2011 02:55 PM, Rainer Orth wrote: > As described in the PR, unless the UTF-8 encoding of \ufeff is padded > with a NUL byte, the iconv_init test fails for the native Tru64 UNIX > libiconv, iconv_byte_swap isn't set correctly and later iconv calls > fail. This patch fixes this, allowing th

[libjava] Fix md5test, shatest on Tru64 UNIX with native libiconv (PR libgcj/49314)

2011-06-21 Thread Rainer Orth
As described in the PR, unless the UTF-8 encoding of \ufeff is padded with a NUL byte, the iconv_init test fails for the native Tru64 UNIX libiconv, iconv_byte_swap isn't set correctly and later iconv calls fail. This patch fixes this, allowing the arraycopy testcase in the PR and the actual md5te