[EMAIL PROTECTED] wrote:
>
> >Nothing in ISO C standard disallows this. ISO C explicitly states
> >that changing the value of a string literal is undefined behavior.
> >So placing them in read-only sections and folding them together is
> >undetectable in a conforming program.
>
>
> I think he referred to the outcome of such a test:
>
>
> if ("false" == "false") ...
>
>
> Would 1 be a conforming result?
Both TRUE _and_ FALSE are conforming results ;-)
Jörg
--
EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
[EMAIL PROTECTED] (uni)
[EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code