>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?

Casper
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to