Toolbox_RegisterObjectModule
Christian Ludlam
chris at recoil.org
Sat Aug 14 11:57:52 BST 2004
Hi,
A bug in the Toolbox module meant the SWI names for
Toolbox_RegisterObjectModule and Toolbox_RegisterPostFilter were reversed.
OSLib uses the names as given in the module, so it calls the wrong SWI number
(amusingly OSLib has a changlog entry 'correcting' these SWI numbers).
Thus the SWI numbers in OSLib need swapping for these two SWIs.
This is fixed in the most recent Toolbox versions - here is an authoritative
statement:
-----
date: 2004/01/07 00:01:58; author: justin; state: Exp; lines: +11 -11
Summary:
Added *Command to display registered objects.
Fix for SWI name list order.
Fix for aborts on memory release after module restart.
Detail:
* *Toolbox_Objects now lists the registered objects. This is done
by us now remembering what objects have been registered with us.
Previously no record of the registered objects (beyond the resource
file) would be made.
* RegisterPostFilter and RegisterObjectModule were back to front.
* When memory was released from the old memory chain after Toolbox was
restarted, it was possible for the head items to cause an abort. The
check for the previous pointer was not being performed. This fix is
actually in the Common library, but the log is included here to
provide a reference point for users.
Admin:
Tested on build machine with Window module; appears to make things a
lot more stable when the modules are reinitialised.
Tag:
Toolbox-1_73
----
Thanks,
--
Christian Ludlam
chris at recoil.org
More information about the oslib-user
mailing list