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

Eli Zaretskii
2014-06-12T17:03:16Z

> Date: Thu, 12 Jun 2014 15:02:57 +0800
> From: Yao Qi <yao@codesourcery.com>
> CC: <palves@redhat.com>, <tromey@redhat.com>, <brobecker@adacore.com>,
> <gdb-patches@sourceware.org>
>
> On 06/12/2014 10:46 AM, Eli Zaretskii wrote:
> > So you need _any_ character for which iswprint returns zero? If so,
> > does the character have to be a single byte?
>
> Find a character for which iswprint returns zero isn't the point, IMO.
> The problem is wchar.exp expects "\242" but GDB prints cent sign on
> mingw. Instead of changing to another character, isn't better to match
> both (\242 and cent sign) in regexp pattern?

Maybe. Can you tell what is the purpose of the test? (Sorry, I know
almost nothing about the test suite.)