public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug localedata/16984] New: localedef does not search I18NPATH properly
@ 2014-05-26 5:12 myllynen at redhat dot com
2014-05-26 10:36 ` [Bug localedata/16984] " cvs-commit at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: myllynen at redhat dot com @ 2014-05-26 5:12 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=16984
Bug ID: 16984
Summary: localedef does not search I18NPATH properly
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: localedata
Assignee: unassigned at sourceware dot org
Reporter: myllynen at redhat dot com
CC: libc-locales at sourceware dot org
localedef does not append trailing slash to I18NPATH directories when searching
for input file and repertoire map (but does so when searching for character
map). One would expect localedef to search e.g. for /I18NPATH/INPUT instead of
/I18NPATHINPUT.
The following snippets from strace output illustrate the issue.
open("CMAP", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/I18NPATH/charmaps/CMAP", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/I18NPATH/charmaps/CMAP.gz", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/I18NPATH/charmaps/CMAP.bz2", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/I18NPATH/CMAP", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/I18NPATH/CMAP.gz", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/I18NPATH/CMAP.bz2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/i18n/charmaps/CMAP", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/share/i18n/charmaps/CMAP.gz", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/share/i18n/charmaps/CMAP.bz2", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/usr/share/locale/locale.alias", O_RDONLY) = 3
open("INPUT", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/I18NPATH/locales/INPUT", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/I18NPATHINPUT", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/i18n/locales/INPUT", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("REP", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/I18NPATH/repertoiremaps/REP", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/I18NPATHREP", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/i18n/repertoiremaps/REP", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("iso14651_t1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/I18NPATH/locales/iso14651_t1", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/I18NPATHiso14651_t1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/i18n/locales/iso14651_t1", O_RDONLY) = 4
open("REP", O_RDONLY) = -1 ENOENT (No such file or directory)
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug localedata/16984] localedef does not search I18NPATH properly
2014-05-26 5:12 [Bug localedata/16984] New: localedef does not search I18NPATH properly myllynen at redhat dot com
@ 2014-05-26 10:36 ` cvs-commit at gcc dot gnu.org
2014-05-26 10:50 ` schwab@linux-m68k.org
2014-06-12 19:11 ` fweimer at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2014-05-26 10:36 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=16984
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via b60ea6fff5cca4da517ec9cce3af8f3e94d6ac65 (commit)
from 673659263d956f45f1ce0c66900fa7f1129db74a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b60ea6fff5cca4da517ec9cce3af8f3e94d6ac65
commit b60ea6fff5cca4da517ec9cce3af8f3e94d6ac65
Author: Andreas Schwab <schwab@suse.de>
Date: Mon May 26 12:31:13 2014 +0200
Fix searching localedef input on I18NPATH (BZ #16984)
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 7 +++++++
NEWS | 2 +-
locale/programs/locfile.c | 2 +-
locale/programs/repertoire.c | 2 +-
4 files changed, 10 insertions(+), 3 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug localedata/16984] localedef does not search I18NPATH properly
2014-05-26 5:12 [Bug localedata/16984] New: localedef does not search I18NPATH properly myllynen at redhat dot com
2014-05-26 10:36 ` [Bug localedata/16984] " cvs-commit at gcc dot gnu.org
@ 2014-05-26 10:50 ` schwab@linux-m68k.org
2014-06-12 19:11 ` fweimer at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: schwab@linux-m68k.org @ 2014-05-26 10:50 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=16984
Andreas Schwab <schwab@linux-m68k.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
Target Milestone|--- |2.20
--- Comment #2 from Andreas Schwab <schwab@linux-m68k.org> ---
Fixed.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug localedata/16984] localedef does not search I18NPATH properly
2014-05-26 5:12 [Bug localedata/16984] New: localedef does not search I18NPATH properly myllynen at redhat dot com
2014-05-26 10:36 ` [Bug localedata/16984] " cvs-commit at gcc dot gnu.org
2014-05-26 10:50 ` schwab@linux-m68k.org
@ 2014-06-12 19:11 ` fweimer at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: fweimer at redhat dot com @ 2014-06-12 19:11 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=16984
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fweimer at redhat dot com
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-06-12 19:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-26 5:12 [Bug localedata/16984] New: localedef does not search I18NPATH properly myllynen at redhat dot com
2014-05-26 10:36 ` [Bug localedata/16984] " cvs-commit at gcc dot gnu.org
2014-05-26 10:50 ` schwab@linux-m68k.org
2014-06-12 19:11 ` 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).