This is the mail archive of the libc-alpha@sourceware.cygnus.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: utf-16 iconv requires aligned buffer


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

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