This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: gconv bug and documentation deficiency
- To: Owen Taylor <otaylor at redhat dot com>
- Subject: Re: gconv bug and documentation deficiency
- From: Ulrich Drepper <drepper at redhat dot com>
- Date: 05 Jan 2001 00:25:38 -0800
- Cc: libc-alpha at sources dot redhat dot com
- References: <yben1d76kpi.fsf@fresnel.labs.redhat.com>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
Owen Taylor <otaylor@redhat.com> writes:
> The bug:
I've fixed this now.
> iconv() can exit with an errno of E2BIG for 2 reasons:
>
> - The output buffer is full
> - An internal intermediate buffer is full
Give me an example. This should never be the case. The internal
buffers should at no point have visible effects. If an internal
buffer is full the next conversion in the chain is called to flush it.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------