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: [dthorpe@inprise.com] libc/1840: Function result of iconv() is always zero in non-error case.


Andreas Jaeger <aj@suse.de> writes:

> I just looked at iconv/tst-cionv1 - the return value of the iconv
> function in this example is 0.  AFAIK this is correct, isn't it?  Uli,
> can you look into this, please?

The return value is the number of inreversible conversions performed.
The current code (and that in 2.1.3, I think) is correct.

-- 
---------------.                          ,-.   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]