James Carlson wrote:
Dan Mick writes:
James Carlson wrote:
Part of this is knowing some history.  Search around for odd terms
such as "block started by symbol."  :-/

although, really, that's overkill for understanding this problem; the simple and complete answer is the C language definition. Literal strings are not guaranteed writable; trying to write them is generally considered a bad idea. exactly *how* they're made non-writable involves the linker, but you don't need to understand the linker to understand that aspect of C.

That just leaves the issue up to spec-level mysticism.

Sure, you don't *have* to understand how any of this works.  I think,
though, that you're in a better place if you do look at some of it,
because it helps explain why there are platform differences and how
various sorts of references within shared libraries work.

It'll at least be handy later.


There's an infinite number of things to know.

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

Reply via email to