This is the mail archive of the libc-locales@sourceware.org mailing list for the GNU libc locales project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug localedata/10871] ru_RU: 'mon' array should contain both nominative and genitive cases


https://sourceware.org/bugzilla/show_bug.cgi?id=10871

--- Comment #25 from van.de.bugger at gmail dot com ---
(In reply to Mike Frysinger from comment #20)

> i think you might have missed some of the things Rafal said.  he is correct
> when he said BSD because they already have a format specifier for this: %OB.
> POSIX does *not* support this today (see the linked POSIX bug report for
> more details) which leads us to the multiple choices he outlined in comment
> #7.

1. I do not understand what do you mean by "POSIX does *not* support this
today". POSIX is a standard, not an implementation, and O and E modifiers are
described in the standard, see
http://pubs.opengroup.org/onlinepubs/9699919799/functions/strftime.html 

2. By this description, O modifier is applicable to d, e, H, I, m, M, S, u, U,
V, w, W, and y. OB is BSD-specific *extension* to POSIX.

3. %OB is not just BSD extension, it is also ugly hack which likely does not
solve the problem. BSD offers only two cases for month name â %B and %OB, while
in Russian language a noun has six cases, in Finnish â more than dozen. I am
not a linguist and not aware about other languages, but it is obviously 2 cases
cannot cover all the needs.

> i don't think we should create yet another standard -- either we use what
> BSD already has, or we wait for POSIX to come up with one (and we go with
> his suggestion for automatic detection in the mean time since it doesn't
> break ABI).  if you want to extend the standard, please post to the POSIX
> lists.

GNU libc have A LOT of extensions. It is not clear why you decided to stop
adding extensions now.

Automatic detection does not break ABI, it breaks behavior of existing
programs.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]