This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc 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 libc/24936] New: gettext cache not invalidated by uselocale()


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

            Bug ID: 24936
           Summary: gettext cache not invalidated by uselocale()
           Product: glibc
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: khw at cpan dot org
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=931139.

This appears to me to be a glibc bug.  The locale in a thread has changed, but
glibc continues to use a now incorrect cache.  I couldn't find any
documentation of how gettext and threads interact.  I presume the invalidation
need only occur if LC_MESSAGES is changed, not any other category.

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

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