Mladen Turk wrote:
David Rees wrote:


Are you sure it's a good idea to wait until it crashes rather than fail in a controlled method? How much overhead is there to check aw->name for NULL? Can't be much...



Yes I am. Look, if the system can not alloc 1000 bytes of memory what's the purpose to continue?

Mt.

Are you joking :-) ?

At least do an printf and exit(), coredump is never good (some systems don't collect the core - so the user will have no idea what just happened ).


Costin


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to