This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [patch] fix iconv -c problem
- To: Yong Li <yong dot li at asu dot edu>
- Subject: Re: [patch] fix iconv -c problem
- From: Ulrich Drepper <drepper at redhat dot com>
- Date: 30 Jan 2001 23:26:53 -0800
- Cc: <libc-alpha at sources dot redhat dot com>
- References: <Pine.OSF.4.30.0101291401270.28484-100000@metapl.la.asu.edu>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
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 `------------------------