[AD] ex3buf DOS patch

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


Attached a patch for ex3buf. Apparently a function and a variable were
removed when the retrace simulator was depricated, but the LOCK macros
for them were never removed, so DOS tried to lock them but they
weren't there.

It appears this could be a rather big issue (LOCK_* statements for
removed functions/variables). I think a good idea to clean this up
would be to make the LOCK_DATA macro define to this for debugmode if
they're not already set:

#define LOCK_DATA(x, s)  (void)x

That should compile to nothing, but still make the variable referenced
(so you'd get an error is it doesn't exist).

- Kitty Cat

Attachment: ex3buf.diff
Description: Binary data



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