This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
Re: iconv calling convention
- To: Bruno Haible <haible at ilog dot fr>
- Subject: Re: iconv calling convention
- From: Ulrich Drepper <drepper at cygnus dot com>
- Date: 20 Dec 1999 23:15:22 -0800
- Cc: libc-alpha at sourceware dot cygnus dot com
- References: <199912201558.QAA03805@oberkampf.ilog.fr>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
Bruno Haible <haible@ilog.fr> writes:
> It requires that I write
>
> size_t dummy;
> iconv(cd,NULL,NULL,NULL,&dummy);
>
> Here is a patch which presumably fixes this.
I guess the patch make sense though the standard does not explicitly
mentions this. I've applied it. Thanks,
--
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------