|
From: | Davis Herring |
Subject: | Re: Concurrency has landed |
Date: | Thu, 22 Dec 2016 12:57:16 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 |
Thanks for the clarification: that's one of the less sensible things about the C standard. Pointers really ought to work like integers whether or not they point to freed storage or utter nonsense.
For reference: C++ (which softens the use of such a pointer value to implementation-defined) comments that "Some implementations might define that copying an invalid pointer value causes a system-generated runtime fault.".
Davis --This product is sold by volume, not by mass. If it appears too dense or too sparse, it is because mass-energy conversion has occurred during shipping.
[Prev in Thread] | Current Thread | [Next in Thread] |