public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug localedata/10497] New: Add YESSTR and NOSTR for en_US and POSIX locales
@ 2009-08-07 12:49 pmachata at redhat dot com
2009-08-07 12:54 ` [Bug localedata/10497] " pmachata at redhat dot com
2009-10-30 5:31 ` drepper at redhat dot com
0 siblings, 2 replies; 4+ messages in thread
From: pmachata at redhat dot com @ 2009-08-07 12:49 UTC (permalink / raw)
To: glibc-bugs
YESSTR and NOSTR selector to nl_langinfo don't have locale data for POSIX and
en_US (and possibly others, these are just the two that happen to be important
for me). Many locales do have these strings, which seems to indicate that it's
just missing data rather than the feature not being supported. I'll attach a
patch that adds these strings.
Reproducer:
$ cat y.c
#define _GNU_SOURCE
#include <locale.h>
#include <langinfo.h>
#include <stdio.h>
int main (void) {
setlocale (LC_ALL, "");
printf ("|%s|%s|\n", nl_langinfo (YESEXPR), nl_langinfo (YESSTR));
}
$ gcc y.c -o y
$ LANG=C ./y
|^[yY]||
$ LANG=en_US ./y
|^[yY].*||
--
Summary: Add YESSTR and NOSTR for en_US and POSIX locales
Product: glibc
Version: 2.11
Status: NEW
Severity: normal
Priority: P2
Component: localedata
AssignedTo: libc-locales at sources dot redhat dot com
ReportedBy: pmachata at redhat dot com
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=10497
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug localedata/10497] Add YESSTR and NOSTR for en_US and POSIX locales
2009-08-07 12:49 [Bug localedata/10497] New: Add YESSTR and NOSTR for en_US and POSIX locales pmachata at redhat dot com
@ 2009-08-07 12:54 ` pmachata at redhat dot com
2009-10-30 5:31 ` drepper at redhat dot com
1 sibling, 0 replies; 4+ messages in thread
From: pmachata at redhat dot com @ 2009-08-07 12:54 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From pmachata at redhat dot com 2009-08-07 12:53 -------
Created an attachment (id=4121)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=4121&action=view)
fix for this problem
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10497
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug localedata/10497] Add YESSTR and NOSTR for en_US and POSIX locales
2009-08-07 12:49 [Bug localedata/10497] New: Add YESSTR and NOSTR for en_US and POSIX locales pmachata at redhat dot com
2009-08-07 12:54 ` [Bug localedata/10497] " pmachata at redhat dot com
@ 2009-10-30 5:31 ` drepper at redhat dot com
1 sibling, 0 replies; 4+ messages in thread
From: drepper at redhat dot com @ 2009-10-30 5:31 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From drepper at redhat dot com 2009-10-30 05:30 -------
I've applied the patch.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://sourceware.org/bugzilla/show_bug.cgi?id=10497
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug localedata/10497] Add YESSTR and NOSTR for en_US and POSIX locales
[not found] <bug-10497-131@http.sourceware.org/bugzilla/>
@ 2014-07-01 7:21 ` fweimer at redhat dot com
0 siblings, 0 replies; 4+ messages in thread
From: fweimer at redhat dot com @ 2014-07-01 7:21 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=10497
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flags| |security-
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-07-01 7:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-07 12:49 [Bug localedata/10497] New: Add YESSTR and NOSTR for en_US and POSIX locales pmachata at redhat dot com
2009-08-07 12:54 ` [Bug localedata/10497] " pmachata at redhat dot com
2009-10-30 5:31 ` drepper at redhat dot com
[not found] <bug-10497-131@http.sourceware.org/bugzilla/>
2014-07-01 7:21 ` fweimer at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).