Re: a slightly updated rpm spec file for Ger Hobbelt crm114 branch

Jaakko Hyvätti <[email protected]>
Newsgroups gmane.mail.spam.crm114
Message-ID <[email protected]>
On Mon, 2 Feb 2009, Bill Yerazunis wrote:
> What happens when you hit a CRM_ASSERT?  With no I/O, your
> embedded device hangs.

It should, because if the C coder has allowed a function to be called with 
invalid input, you do not know if there is ANY script there to return to 
or if the memory is corrupted and you are going to inject fuel to a coffee 
cup next. It is safest to HALT. A watchdog will reboot if necessary.

This is why for example linux kernel does not just return error but 
halts when some assertions fail.

Ger's mail sure is a complete answer to this, just wanted to 'vote'.

Regards,
Jaakko


------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.