Re: The next release?


Subject: Re: The next release?
From: Vlad Harchev (hvv@hippo.ru)
Date: Sun Oct 22 2000 - 04:26:05 CDT


On Sun, 22 Oct 2000, Martin Sevior wrote:

> On Fri, 20 Oct 2000, Dom Lachowicz wrote:
>
> > Here's what we did in wv to fix the RH7 iconv problem:
> >
> > http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/wv/text.c.diff?r1=1.7&r2=1.8&cvsroot=wvware
> >
> > But for obvious reasons, it got rolled back (guy with the patch didn't tell
> > me at first that it would only work on rh7). Do with it as you'd like.
> >
>
> Ah just as Vlad suspected, a byte swap in RH 7.0 that is not present in RH
> 6.2. What a pain!

 Also byte swap will be required on big-endian platforms too (conditionally
on the glibc version, of course).

> Does it make sense to fork iconv and just use our own version? Like we did
> with wchar functions? Otherwise we need to set up some wrapper around
> iconv calls to test what version of iconv is present in our libraries and
> choose different code paths accordingly.
>
> Isn't there an iconv included in the Abi distribution for platforms
> without one present? Should we just use that for all platforms?

 I think we should write a class that wraps around iconv_t, that will do byte
swapping as necessary (it should detect at startup whether swapping is
needed). This way we will be able to use iconv implementation user prefers,
not libiconv only.
 
> Cheers
>
> Martin
>

 Best regards,
  -Vlad



This archive was generated by hypermail 2b25 : Sun Oct 22 2000 - 04:58:34 CDT