RE: [PATCH] Import setenv and unsetenv from gnulib

Anton Kolesov
2017-07-05T10:32:08Z

>
> On 07/04/2017 07:06 PM, Anton Kolesov wrote:
> > Selftests pass on x86_64-linux. On Windows with this patch there is a
> > failure in iconv sefltest, which seems unrelated (was present even
> > when I've tried to use putenv directly instead of importing gnulib module).
>
> I take it you meant the s/iconv/gdb_environ/ selftest.
> Can you show what does "maint selftest" say?

z:\tmp>gdb.exe -ex "mt selftest" -batch
Self test failed: Converting character sets: No error.
Ran 11 unit tests, 1 failed

Grepping for "Converting character sets" points to iconv_wrapper in charset.c.

I'm cross-building with Mingw GCC 4.9.2 from EPEL repositories for CentOS/RHEL 6.
Maybe some problems with this toolchain or my windows environment.

Anton

>
> Thanks,
> Pedro Alves