On 17/04/2026 09:04, Bruno Haible wrote:
Pádraig Brady wrote:
2) new:
FAIL: tests/date/date-locale-hour
Interesting. On Centos 7 these Serbian locales
had an extraneous trailing new line in `locale date_fmt`.
$ for loc in $(locale -a 2>/dev/null); do
test $(LC_ALL="$loc" locale date_fmt | wc -l) -gt 1 && echo $loc
done
sr_ME
sr_ME.utf8
sr_RS
sr_RS.utf8
sr_RS.utf8@latin
sr_RS@latin
Indeed. This was reported as glibc bug
https://sourceware.org/bugzilla/show_bug.cgi?id=19581
and fixed through glibc commit
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=ff889b196575c2fbf6aa7130abb1ec862714ea4e
The attached fixes that in my testing.
I confirm that the newest snapshot passes all tests on CentOS 7.
The fix wasn't dash compatible unfortunately.
So I pushed a further fix for that.
I tested on CentOS 7, so no need to retest.
cheers,
Padraig