bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gettext] [bug #44645] libintl_setlocale() still caches settings und


From: Guido Flohr
Subject: [bug-gettext] [bug #44645] libintl_setlocale() still caches settings under Mac OS X
Date: Mon, 30 Mar 2015 06:29:39 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:36.0) Gecko/20100101 Firefox/36.0

Follow-up Comment #2, bug #44645 (project gettext):

I can reproduce it both with a vanilla gettext-0.19.4 and the one installed
with Mac Ports:

address@hidden:/tmp/gettext-0.19.4 $ gettext-runtime/libtool --mode=link gcc -o
setlocale-cache-bug -I gettext-runtime/intl setlocale-cache-bug.c
gettext-runtime/intl/libintl.la
libtool: link: gcc -o .libs/setlocale-cache-bug -I gettext-runtime/intl
setlocale-cache-bug.c  gettext-runtime/intl/.libs/libintl.dylib -liconv -lc
address@hidden:/tmp/gettext-0.19.4 $ ./setlocale-cache-bug 
ja_JP.UTF-8
German: 未知のシステムエラー
C/en_US.UTF-8/C/C/C/C
POSIX/C: 未知のシステムエラー
address@hidden:/tmp/gettext-0.19.4 $ cd /tmp/bug-44645
address@hidden:/tmp/bug-44645 $ make
cc -I /opt/local/include   -c -o setlocale-cache-bug.o setlocale-cache-bug.c
cc -L /opt/local/lib -lintl -o setlocale-cache-bug setlocale-cache-bug.o
address@hidden:/tmp/bug-44645 $ ./setlocale-cache-bug 
ja_JP.UTF-8
German: 未知のシステムエラー
C/en_US.UTF-8/C/C/C/C
POSIX/C: 未知のシステムエラー
address@hidden:/tmp/bug-44645 $ locale 
LANG="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_CTYPE="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_ALL=
address@hidden:/tmp/bug-44645 $ port installed | grep gettext
Warning: port definitions are more than two weeks old, consider updating them
by running 'port selfupdate'.
  gettext @0.19.3_1
  gettext @0.19.4_0 (active)

I have attached the exact setlocale-cache-bug.c that I used on my mac here.

The only sigifnicant difference I see to your setup is the return value of
setlocale().  And I am using Mac OS X 10.10.2.


(file #33488)
    _______________________________________________________

Additional Item Attachment:

File name: bug-44645.tar.gz               Size:0 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44645>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]