This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [dthorpe@inprise.com] libc/1840: Function result of iconv() is always zero in non-error case.
- To: libc-alpha Mailinglist <libc-alpha at sourceware dot cygnus dot com>
- Subject: Re: [dthorpe@inprise.com] libc/1840: Function result of iconv() is always zero in non-error case.
- From: Ulrich Drepper <drepper at redhat dot com>
- Date: 01 Aug 2000 08:33:24 -0700
- Cc: dthorpe at inprise dot com
- References: <u8u2d5cudp.fsf@gromit.rhein-neckar.de>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
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 `------------------------