public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/15969] New: re-search for locale aliases in archives
@ 2013-09-19  3:26 aoliva at sourceware dot org
  2013-09-19  3:39 ` [Bug libc/15969] re-search for locale aliases in archive aoliva at sourceware dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: aoliva at sourceware dot org @ 2013-09-19  3:26 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=15969

            Bug ID: 15969
           Summary: re-search for locale aliases in archives
           Product: glibc
           Version: 2.18
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: aoliva at sourceware dot org
          Reporter: aoliva at sourceware dot org
                CC: drepper.fsp at gmail dot com

Created attachment 7208
  --> http://sourceware.org/bugzilla/attachment.cgi?id=7208&action=edit
patch that fixes this problem

If a locale alias is defined in locale.alias but not in an archive, and the
referenced locale is only present in the archive, setlocale will fail if given
the alias name.  This is unintuitive.  We should search the archive for the
definition of the locale, even if the alias is defined in locale.alias.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug libc/15969] re-search for locale aliases in archive
  2013-09-19  3:26 [Bug libc/15969] New: re-search for locale aliases in archives aoliva at sourceware dot org
@ 2013-09-19  3:39 ` aoliva at sourceware dot org
  2013-10-09  8:01 ` neleai at seznam dot cz
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: aoliva at sourceware dot org @ 2013-09-19  3:39 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=15969

Alexandre Oliva <aoliva at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|re-search for locale        |re-search for locale
                   |aliases in archives         |aliases in archive

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug libc/15969] re-search for locale aliases in archive
  2013-09-19  3:26 [Bug libc/15969] New: re-search for locale aliases in archives aoliva at sourceware dot org
  2013-09-19  3:39 ` [Bug libc/15969] re-search for locale aliases in archive aoliva at sourceware dot org
@ 2013-10-09  8:01 ` neleai at seznam dot cz
  2013-10-12  7:14 ` aoliva at sourceware dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: neleai at seznam dot cz @ 2013-10-09  8:01 UTC (permalink / raw)
  To: glibc-bugs

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

Ondrej Bilka <neleai at seznam dot cz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |neleai at seznam dot cz

--- Comment #1 from Ondrej Bilka <neleai at seznam dot cz> ---
Could you submit this to libc-alpha?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug libc/15969] re-search for locale aliases in archive
  2013-09-19  3:26 [Bug libc/15969] New: re-search for locale aliases in archives aoliva at sourceware dot org
  2013-09-19  3:39 ` [Bug libc/15969] re-search for locale aliases in archive aoliva at sourceware dot org
  2013-10-09  8:01 ` neleai at seznam dot cz
@ 2013-10-12  7:14 ` aoliva at sourceware dot org
  2014-06-13 12:49 ` fweimer at redhat dot com
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: aoliva at sourceware dot org @ 2013-10-12  7:14 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #2 from Alexandre Oliva <aoliva at sourceware dot org> ---
http://sourceware.org/ml/libc-alpha/2013-09/msg00566.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug libc/15969] re-search for locale aliases in archive
  2013-09-19  3:26 [Bug libc/15969] New: re-search for locale aliases in archives aoliva at sourceware dot org
                   ` (2 preceding siblings ...)
  2013-10-12  7:14 ` aoliva at sourceware dot org
@ 2014-06-13 12:49 ` fweimer at redhat dot com
  2015-02-26  5:22 ` cvs-commit at gcc dot gnu.org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: fweimer at redhat dot com @ 2014-06-13 12:49 UTC (permalink / raw)
  To: glibc-bugs

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

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] 9+ messages in thread

* [Bug libc/15969] re-search for locale aliases in archive
  2013-09-19  3:26 [Bug libc/15969] New: re-search for locale aliases in archives aoliva at sourceware dot org
                   ` (3 preceding siblings ...)
  2014-06-13 12:49 ` fweimer at redhat dot com
@ 2015-02-26  5:22 ` cvs-commit at gcc dot gnu.org
  2015-02-26  5:55 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2015-02-26  5:22 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #3 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  0d822a016b631aef409df5805f58962fe5bbcdc5 (commit)
      from  ca681b7b7b79bea3af62fe709df6594f3f5457e6 (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=0d822a016b631aef409df5805f58962fe5bbcdc5

commit 0d822a016b631aef409df5805f58962fe5bbcdc5
Author: Alexandre Oliva <aoliva@redhat.com>
Date:   Mon Nov 17 22:00:58 2014 -0200

    BZ #15969: search locale archive again after alias expansion

    If a locale alias is defined in locale.alias but not in an archive,
    and the referenced locale is only present in the archive, setlocale
    will fail if given the alias name.  This is unintuitive.  This patch
    fixes it, arranging for the locale archive to be searched again after
    alias expansion.

    for  ChangeLog

        [BZ #15969]
        * locale/findlocale.c (_nl_find_locale): Retry archive search
        after alias expansion.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog           |    6 ++++++
 NEWS                |    8 ++++----
 locale/findlocale.c |   19 +++++++++++++++----
 3 files changed, 25 insertions(+), 8 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug libc/15969] re-search for locale aliases in archive
  2013-09-19  3:26 [Bug libc/15969] New: re-search for locale aliases in archives aoliva at sourceware dot org
                   ` (4 preceding siblings ...)
  2015-02-26  5:22 ` cvs-commit at gcc dot gnu.org
@ 2015-02-26  5:55 ` cvs-commit at gcc dot gnu.org
  2015-02-26  6:13 ` aoliva at sourceware dot org
  2015-02-28  1:22 ` cvs-commit at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2015-02-26  5:55 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #4 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  23d43090e0b275e47e09e859823e965a1eb323dc (commit)
      from  0d822a016b631aef409df5805f58962fe5bbcdc5 (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=23d43090e0b275e47e09e859823e965a1eb323dc

commit 23d43090e0b275e47e09e859823e965a1eb323dc
Author: Alexandre Oliva <aoliva@redhat.com>
Date:   Thu Feb 26 02:46:02 2015 -0300

    Fix constness error just introduced in findlocale.

    for  ChangeLog

        [BZ #15969]
        * locale/findlocale.c (_nl_find_locale): Fix constness error in
        the previous change.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog           |    6 +++++-
 locale/findlocale.c |    3 ++-
 2 files changed, 7 insertions(+), 2 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug libc/15969] re-search for locale aliases in archive
  2013-09-19  3:26 [Bug libc/15969] New: re-search for locale aliases in archives aoliva at sourceware dot org
                   ` (5 preceding siblings ...)
  2015-02-26  5:55 ` cvs-commit at gcc dot gnu.org
@ 2015-02-26  6:13 ` aoliva at sourceware dot org
  2015-02-28  1:22 ` cvs-commit at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: aoliva at sourceware dot org @ 2015-02-26  6:13 UTC (permalink / raw)
  To: glibc-bugs

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

Alexandre Oliva <aoliva at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Alexandre Oliva <aoliva at sourceware dot org> ---
Fixed, with a pending follow-up to fix the constness issue for good.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug libc/15969] re-search for locale aliases in archive
  2013-09-19  3:26 [Bug libc/15969] New: re-search for locale aliases in archives aoliva at sourceware dot org
                   ` (6 preceding siblings ...)
  2015-02-26  6:13 ` aoliva at sourceware dot org
@ 2015-02-28  1:22 ` cvs-commit at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2015-02-28  1:22 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #6 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  e7f07af50b231d3ade6b4d338a65d6b571f96116 (commit)
      from  c7b19ca99a410e9f2b82b9b3494c12c9a5da32db (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=e7f07af50b231d3ade6b4d338a65d6b571f96116

commit e7f07af50b231d3ade6b4d338a65d6b571f96116
Author: Alexandre Oliva <aoliva@redhat.com>
Date:   Fri Feb 27 22:18:56 2015 -0300

    Avoid unsafe loc_name type casts with additional variable

    for  ChangeLog

        [BZ #15969]
        * locale/findlocale.c (_nl_find_locale): Introduce const
        version of loc_name and drop unsafe type casts.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog           |    6 ++++++
 locale/findlocale.c |   45 ++++++++++++++++++++++-----------------------
 2 files changed, 28 insertions(+), 23 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-02-28  1:22 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-19  3:26 [Bug libc/15969] New: re-search for locale aliases in archives aoliva at sourceware dot org
2013-09-19  3:39 ` [Bug libc/15969] re-search for locale aliases in archive aoliva at sourceware dot org
2013-10-09  8:01 ` neleai at seznam dot cz
2013-10-12  7:14 ` aoliva at sourceware dot org
2014-06-13 12:49 ` fweimer at redhat dot com
2015-02-26  5:22 ` cvs-commit at gcc dot gnu.org
2015-02-26  5:55 ` cvs-commit at gcc dot gnu.org
2015-02-26  6:13 ` aoliva at sourceware dot org
2015-02-28  1:22 ` cvs-commit at gcc dot gnu.org

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).