bug-m4
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: format is locale aware


From: Bruno Haible
Subject: Re: format is locale aware
Date: Thu, 10 Jun 2021 17:41:41 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-210-generic; KDE/5.18.0; x86_64; ; )

Eric Blake wrote:
> > 2) Why do I see the test 180 fail on DragonFly BSD but not on a glibc
> > system? In both cases, I have LC_ALL set to fr_FR.UTF-8, and this locale
> > exists (verified with 'locale -a').
> 
> May be due to differences in strtod() parsing on those platforms, or
> something we may have overlooked in gnulib.  Definitely worth some
> further investigation

Took me an hour to debug it,
  1) with "pstree -pl" and "cat /proc/<pid>/environ | tr '\0' '\n' | grep 
LC_ALL"
  2) with "strace -o /tmp/log -v -ff make check"

There is a line in gnulib's maint.mk that sets LC_ALL=C !!!
maint.mk is only used with GNU make, and on DragonFly BSD I was using a non-GNU
make, that's why I saw the test failure there.

Follow-up to bug-gnulib.

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]