[augeas-devel] Weird print result with Perl bindings on amd64

David Lutterkort lutter at redhat.com
Wed Jan 14 21:32:06 UTC 2009


On Wed, 2009-01-14 at 11:18 -0800, David Lutterkort wrote:
> On Wed, 2009-01-14 at 19:04 +0100, Dominique Dumont wrote:
> > Yes. 32 bits has *always* worked whatever LC_*/LANG I set (by default,
> > LANG is en_US with utf8). I can provide a more detailed report if you
> > want.
> 
> I can reproduce these problems with augparse/augtool if I stick a
> 'setlocale(LC_ALL, "")' into their main, thus making them obey the LC_*
> env vars - why that would be architecture specific though is beyond me.

There is one important difference between i386 and x86_64: the former
uses the regexp matcher from glibc, whereas the latter uses the one from
gnulib. I need to figure out what the differences between the two are
and why that causes this difference in behavior.

David





More information about the augeas-devel mailing list