This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gconv bug and documentation deficiency


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   `------------------------

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]