-
Robert Sprowson authored
When client modules are paired with a Toolbox that doesn't support the Toolbox_Memory SWI the mem functions fall back to using calloc, free, and a local implementation of realloc via OS_Module 13. These variants are also used by Toolbox itself for allocations prior to being linked into the module chain. However, the CLib now allocates extra to record private information behind the allocation so mem must either call calloc/free/realloc *or* OS_Module 6/7/13, not a mixture of the two. Since realloc from a module is broken in the CLib built into RISC OS 3.10, we opt to call OS_Module 6/7 to avoid needing to consider that bug. Version 0.29. Tagged as 'tboxlib-0_29'
2869c04d