[Bug 237752] LC_TIME keywords violate POSIX
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Sep 11 15:40:22 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237752
--- Comment #2 from commit-hook at freebsd.org ---
A commit references this bug:
Author: yuripv
Date: Wed Sep 11 15:39:30 UTC 2019
New revision: 352214
URL: https://svnweb.freebsd.org/changeset/base/352214
Log:
locale: more output fixes
- make abday, day, abmon, mon, am_pm output quoting match linux
- workaround localeconv() issue for mon_grouping and grouping (PR172215)
- for other values not available in default locale, output -1 instead of
127 (CHAR_MAX) as returned by localeconv()
With these changes, output of `locale` and `locale -k` for all keywords
specified by POSIX exactly matches the linux one.
PR: 237752
Reviewed by: bapt
Differential Revision: https://reviews.freebsd.org/D21599
Changes:
head/usr.bin/locale/locale.c
head/usr.bin/locale/tests/Makefile
head/usr.bin/locale/tests/k_flag_posix_monetary.out
head/usr.bin/locale/tests/k_flag_posix_numeric.out
head/usr.bin/locale/tests/k_flag_posix_time.out
head/usr.bin/locale/tests/locale_test.sh
head/usr.bin/locale/tests/no_flags_posix_messages.out
head/usr.bin/locale/tests/no_flags_posix_monetary.out
head/usr.bin/locale/tests/no_flags_posix_numeric.out
head/usr.bin/locale/tests/no_flags_posix_time.out
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-standards
mailing list