temporarily disable elisp exception tests
[bpt/guile.git] / gnulib-local / lib / localcharset.h.diff
CommitLineData
c2c2b5a4
LC
1Add a variant of `locale_charset' that returns its result based solely on
2information from the environment. See
3http://lists.gnu.org/archive/html/guile-devel/2011-11/msg00040.html for the
4rationale.
5
6diff --git a/lib/localcharset.h b/lib/localcharset.h
7index 8907ccd..43e976f 100644
8--- a/lib/localcharset.h
9+++ b/lib/localcharset.h
10@@ -32,6 +32,12 @@ extern "C" {
11 name. */
12 extern const char * locale_charset (void);
13
14+/* Same as above, but only look at environment variables, avoiding calls to
15+ `setlocale', `nl_langinfo', etc. See
16+ <http://lists.gnu.org/archive/html/guile-devel/2011-11/msg00040.html> for
17+ the rationale. */
18+extern const char * environ_locale_charset (void);
19+
20
21 #ifdef __cplusplus
22 }