GNU gettext - Bugs: bug #38162, libintl_setlocale() caches...
You are not allowed to post comments on this tracker with your current authentication level.
bug #38162: libintl_setlocale() caches settings under Mac OS X
Submitter: | Guido Flohr <gflohr> | ||
Submitted: | Thu 24 Jan 2013 02:35:11 PM UTC | ||
Votes: | 1 | ||
Category: | End-user / runtime | Severity: | 3 - Normal |
Item Group: | None | Status: | In Progress |
Privacy: | Public | Assigned to: | ueno |
Open/Closed: | Open |
Jump to the original submission
Sun 16 Sep 2018 05:32:45 PM UTC, comment #7: |
Bruno Haible <haible>![]() |
Tue 25 Jun 2013 12:23:17 PM UTC, comment #6: Worked here as well. |
Guido Flohr <gflohr>![]() |
Tue 25 Jun 2013 07:42:31 AM UTC, comment #5: Anyway, pushed a bit modified version. I did some testing on Mac OS X and it seems to work so far.
|
Daiki Ueno <ueno>![]() ![]() |
Thu 07 Mar 2013 08:32:48 AM UTC, comment #4: Sorry, I don't have a Mac at hand and won't be able to test the fix. |
Guido Flohr <gflohr>![]() |
Wed 06 Mar 2013 05:13:55 AM UTC, comment #3: |
Daiki Ueno <ueno>![]() ![]() |
Tue 05 Mar 2013 11:37:56 PM UTC, comment #2: Sorry for the delay. I could reproduce this with both 0.18.2.1 and 0.18.1.1. |
Daiki Ueno <ueno>![]() ![]() |
Thu 24 Jan 2013 02:39:36 PM UTC, comment #1: Just for the records: You may have to change the directory in the call to bindtextdomain(). |
Guido Flohr <gflohr>![]() |
Thu 24 Jan 2013 02:35:11 PM UTC, original submission:
When I compile the attached C file under Linux and link against glibc 2.15 it behaves as expected. It first prints the message in German, then in English:
|
Guido Flohr <gflohr>![]() |
Depends on the following items: None found
Items that depend on this one: None found
There is 1 vote so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 11 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2021-08-07 | egallager | Carbon-Copy | - | ![]() |
Added -email is unavailable- |
Carbon-Copy | - | ![]() |
Added egallager | ||
2018-09-16 | haible | Status | Fixed | ![]() |
In Progress |
Open/Closed | Closed | ![]() |
Open | ||
2016-11-27 | haible | Category | None | ![]() |
End-user / runtime |
2013-06-25 | ueno | Status | Ready For Test | ![]() |
Fixed |
Open/Closed | Open | ![]() |
Closed | ||
2013-03-06 | ueno | Status | Confirmed | ![]() |
Ready For Test |
2013-03-05 | ueno | Status | None | ![]() |
Confirmed |
Assigned to | None | ![]() |
ueno | ||
2013-01-24 | gflohr | Attached File | - | ![]() |
Added setlocale-cache-bug.c, #27325 |
The commit at http://git.savannah.gnu.org/gitweb/?p=gettext.git;a=commitdiff;h=a65a37654252fd3f958aa414e42f625a55868b90 is incomplete:
1) While being necessary on all platforms except glibc, it is enabled only on macOS, native Windows, and Cygwin (see the declaration in libgnuintl.in.h).
2) The code not enabled in packages that use Gnulib's 'setlocale' module, because Gnulib does not contain the "++_nl_msg_cat_cntr;" changes and libgnuintl.in.h refrains from overriding the Gnulib version.
3) Some documentation ought to be added, in gettext.texi, at the end of node 'Triggering'.