Re: [AD] segfaulting on bad midis + workaround

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


#include <hallo.h>
George Foot wrote on Wed Jun 14, 2000 um 03:43:27PM:

> message in `allegro_error', saying what went wrong, and rely on
> the user to catch the error return from `play_midi', if they
> care about it.

That's the point, they the don't do. Even if this error isn't catched
up, the program will crash in any case. So it's better to exit cleanly,
IMHO.

Eduard.
-- 
=====================================================================
Eduard Bloch <eb@xxxxxxxxxx>; HP: http://eduard.bloch.com/edecosi
0xEDF008C5(GnuPG): E6EB 98E2 B885 8FF0 6C04  5C1D E106 481E EDF0 08C5
:wq



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/