This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: glibc 2.3.1: fix for the i386 inline strings code
On Mon, Jan 06, 2003 at 11:37:14PM -0800, Roland McGrath wrote:
> The problems stem from all these "sizeof((s)[0]) == 1" expressions in the
> __builtin_constant_p-true branch of the macros. This appears frequently,
> and it makes no sense to me. If the macro has correct function-like
> behavior, the arguments in question are all already cast to char * (or
> const char *), and so the test is always true. I can't figure what it was
> intended for.
>
It's enigmatic for me too... But I have a suspicion that they are for
a distinction from the wide-character's case.