bug#20822: environment mangled by locale

2015-06-15 Thread John Darrington
Can we configure this mailing list better? Many (all?) of the messages posted have no obvious indication of which mailing list they are coming from. The subject line is something like "bug#12345: description" The To: field is 12...@debbugs.gnu.org In general, it takes a lot of detective work to

bug#20823: argv mangled by locale

2015-06-15 Thread Zefram
When guile-2.0 stores argv for later access via program-arguments, it sometimes decodes the underlying octet string according to the nominal character encoding of the locale suggested by the environment. This is a problem, because the arguments are not necessarily encoded that way, and may not even

bug#20822: environment mangled by locale

2015-06-15 Thread Zefram
When guile-2.0 is asked to read environment variables, via getenv, it always decodes the underlying octet string according to the current locale's nominal character encoding. This is a problem, because the environment variable's value is not necessarily encoded that way, and may not even be an enc

bug#20819: [PATCH] i18n: check for non-POSIX strtol_l

2015-06-15 Thread Natanael Copa
* configure.ac: Check for strtol_l * libguile/i18n.c: Check with HAVE_STRTOL_L before using strtol_l. This fixes build with musl libc. --- configure.ac| 5 +++-- libguile/i18n.c | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 19e00d8..