Re: [ping] [PATCH] Different outputs affected by locale

Pedro Alves
2014-06-04T20:23:40Z

On 06/04/2014 09:15 PM, Tom Tromey wrote:

> I am not really a great standards lawyer but my first reaction is that
> mingw's C locale is not conforming. At least from:
>
> http://pubs.opengroup.org/onlinepubs/009604499/basedefs/xbd_chap07.html
>
> .. it seems to me that \242 is not defined as a 'print' character in the
> LC_CTYPE section. Though I'd like to reiterate that I don't actually
> trust my own reading of that text.

I wonder whether this is really a mingw issue, or whether this is a
remote host testing issue. That is, aren't we setting LC_CTYPE
on the _build_ (where expect runs), not on the host (mingw, through
ssh)? Is LC_CTYPE really being propagated to the host?
Does testing GDB manually directly on a Windows console show the same
issue?

--
Pedro Alves