>Just because I modify a string literal does not mean I have a bug in  
>my program.  If I do it accidentally, or modify past the end, then I  
>have a bug in my program.

The ANSI C standard disagrees with you.

The modification of string literals invokes undefined behaviour.

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

Reply via email to