[patch] fix iconv -c problem

Ulrich Drepper drepper@redhat.com
Tue Jan 30 23:26:00 GMT 2001


Yong Li <yong.li@asu.edu> writes:

> In glibc 2.2.1, telling iconv to omit invalid characters from output by
> using "-c" option has no effect. With or without it, iconv always stop
> and complain when it sees an invalid character. Here is a patch to fix
> this.

The patch for iconv_prog.c is correct.  But the gconv_open.c patch
isn't.  I've checked in the correct patch now.  The solution is to
modify conv_flags instead of flags is NEEDED is seen.  Thanks,

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------


More information about the Libc-alpha mailing list