[A89] Re: 8/24k size limit


[Prev][Next][Index][Thread]

[A89] Re: 8/24k size limit




OK, I took a look at your code, and due to many gotos, it's quite confusing 
and doesn't follow a clear line. However, here are two things you can do 
already:
- !!ALWAYS!! check the result of the malloc function
- put the stuff from your exit callback function at the end of _main and 
exit the program normally in all cases.

But in general, the gotos (and also homequit and many other "features") 
could be done much cleaner with constructs like 'if', 'switch', 'while', 
'for', etc.

Sorry I couldn't help any further.

Sebastian Reichelt





References: