[illumos-Developer] initial webrev for freebsd tr

Garrett D'Amore garrett at nexenta.com
Wed Aug 18 10:17:26 PDT 2010


On Wed, 2010-08-18 at 19:11 +0200, Joerg Schilling wrote:
> "Garrett D'Amore" <garrett at nexenta.com> wrote:
> 
> > On Wed, 2010-08-18 at 18:52 +0200, Joerg Schilling wrote:
> > > Paul Armstrong <illumos at otoh.org> wrote:
> > > 
> > > > Not sure if you care for it or not, but I uploaded an x86 binary into the
> > > > ticket using the port I did (which is slightly different as I pulled the
> > > > pre-multibyte version of tr but should be close enough for initial testing).
> > > 
> > > Paul, I would like to test the multi-byte aware version as implementing 
> > > multi-byte support may introduce some problems that I would like to check for.
> > > 
> > > 
> > > Jörg
> > > 
> >
> > I have not generated locale data yet... so to test multibyte locales you
> > need some data files that I've not provided yet.
> >
> > You can test after integration, and we'll deal with any breakage at that
> > point.
> 
> Mmm, 
> 
> a truss shows:
> 
> 14549:  open("/usr/lib/locale//de_DE.ISO8859-1/LC_CTYPE", O_RDONLY) = 3
> 
> does it try to open the same locale files as the Sun libc?

No.  You'll note that that path is a *directory* under Sun libc.  Under
illumos libc that should be a file.

There is some work to do (hopefully done later this week) to address the
missing locale data files and integration.  Meantime, the code works in
the "C" locale.

	- Garrett
> 
> Jörg
> 





More information about the Developer mailing list