- improve 33_mc-iconv-error.patch ? - or remove it ?
Replace it with the appended patch.
Roland
Index: charsets.c =================================================================== RCS file: /cvsroot/mc/mc/src/charsets.c,v retrieving revision 1.20 diff -u -p -r1.20 charsets.c --- charsets.c 30 Aug 2004 10:38:00 -0000 1.20 +++ charsets.c 11 May 2005 21:47:25 -0000 @@ -151,7 +151,7 @@ translate_character (iconv_t cd, char c) obuflen = 4; count = iconv (cd, &ibuf, &ibuflen, &obuf, &obuflen); - if (count >= 0 && ibuflen == 0) + if (count != ((size_t) -1) && ibuflen == 0) return outbuf[0]; return UNKNCHAR;