Bug 252717 - bin/localedef: Cannot compile valid LC_TIME
Summary: bin/localedef: Cannot compile valid LC_TIME
Status: Closed Works As Intended
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 12.1-STABLE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-15 18:51 UTC by Olga Smirnova
Modified: 2023-09-21 14:51 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olga Smirnova 2021-01-15 18:51:22 UTC
The localedef utility, compiling a locale with all supported keys in the LC_TIME section, produces a 45-line LC_TIME file, which is rejected as invalid by 'locale', instead of the correct 58-line one.
Comment 1 Yuri Pankov freebsd_committer freebsd_triage 2021-05-06 20:32:34 UTC
Can you provide more information on this (localedef invocation, input/output files)?
Comment 2 Yuri Pankov freebsd_committer freebsd_triage 2023-09-21 14:51:47 UTC
Looking at this again, localedef(1) is supposed to work on posix-compatible data and we differ for LC_TIME having 2 additional specifiers (altmon and d_md_order).  The resulting files are plain text and the format is visible in share/timedef/ files.

Given the above, I'm going to close this as "not a bug".  Please reopen if you don't agree.