Re: [RFC] Signed/unsigned character arrays are not strings

Eli Zaretskii
2007-01-25T04:23:06Z

> Date: Thu, 25 Jan 2007 02:54:22 +0100
> From: Jan Kratochvil <jan.kratochvil@redhat.com>
>
> currently all these types are printed as strings:
> char
> signed char
> unsigned char
> the patch will reduce the printed strings only to
> char
> and the signed/unsigned version gets printed as an array of byte values
> (characters). I hope nobody uses sign-specification for strings.

I must say I'm uneasy about this. Signedness could be random. What
will happen on platforms where `char' is unsigned by default?

Anyway, this change should probably be reflected in the manual, and
perhaps also in NEWS.

> Bugreported by Ulrich Drepper.

What bug? can you show it?