[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.0-135-g96c71
From: |
Andy Wingo |
Subject: |
[Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.0-135-g96c71c5 |
Date: |
Sat, 26 Mar 2011 22:33:24 +0000 |
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 Guile".
http://git.savannah.gnu.org/cgit/guile.git/commit/?id=96c71c589a866e41b3a95ccc90318c6a28e42004
The branch, stable-2.0 has been updated
via 96c71c589a866e41b3a95ccc90318c6a28e42004 (commit)
from 38c50a99b695694b684662663294eaeba2bcba30 (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 -----------------------------------------------------------------
commit 96c71c589a866e41b3a95ccc90318c6a28e42004
Author: Bruno Haible <address@hidden>
Date: Sat Mar 26 23:33:00 2011 +0100
Update comment about uc_locale_language.
* libguile/i18n.c (locale_language): Update comment.
-----------------------------------------------------------------------
Summary of changes:
libguile/i18n.c | 14 ++++----------
1 files changed, 4 insertions(+), 10 deletions(-)
diff --git a/libguile/i18n.c b/libguile/i18n.c
index 51bbc2f..fc651fd 100644
--- a/libguile/i18n.c
+++ b/libguile/i18n.c
@@ -766,16 +766,10 @@ compare_u32_strings (SCM s1, SCM s2, SCM locale, const
char *func_name)
static const char *
locale_language ()
{
- /* FIXME: If the locale has been set with 'uselocale',
- libunistring's uc_locale_language will return the incorrect
- language: it will return the language appropriate for the global
- (non-thread-specific) locale.
-
- There appears to be no portable way to extract the language from
- the thread-specific locale_t. There is no LANGUAGE capability in
- nl_langinfo or nl_langinfo_l.
-
- Thus, uc_locale_language needs to be fixed upstream. */
+ /* Note: If the locale has been set with 'uselocale', uc_locale_language
+ from libunistring versions 0.9.1 and older will return the incorrect
+ (non-thread-specific) locale. This is fixed in versions 0.9.2 and
+ newer. */
return uc_locale_language ();
}
hooks/post-receive
--
GNU Guile
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.0-135-g96c71c5,
Andy Wingo <=