This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
Re: utf-16 iconv requires aligned buffer
- To: Bruno Haible <haible at ilog dot fr>
- Subject: Re: utf-16 iconv requires aligned buffer
- From: Ulrich Drepper <drepper at redhat dot com>
- Date: 30 Mar 2000 19:44:31 -0800
- Cc: libc-alpha at sourceware dot cygnus dot com
- References: <200003141632.RAA18040@jaures.ilog.fr> <200003291613.SAA24111@halles.ilog.fr>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
Bruno Haible <haible@ilog.fr> writes:
> Thanks for fixing that, Ulrich. But your put16 and put32 macros look like
> they contain typos. Here is a fix for this.
Fix fixed this now. Thanks.
> Also, I think you wouldn't need get32/put32 on the "INTERNAL" side
> of each converter, if the internal buffers were allocated aligned
> (at gconv_open.c:78).
Hum, you are right. So we have another condition for the `unaligned´
variable:
data->__is_last.
Thanks,
--
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------