glibc 2.3.1: fix for the i386 inline strings code

Denis Zaitsev zzz@cd-club.ru
Wed Jan 8 05:22:00 GMT 2003


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.



More information about the Libc-alpha mailing list