Stewart Brodie
authored
Detail: Somebody had modified the SWI call to Territory_Collate to be done via _swix instead of _kernel_swi, but didn't remove the _kernel_swi_regs variable (r) and didn't change the function return value to return the new "ret" variable instead of r.r[0] which gives arbitrary results - in particular it confuses qsort. Admin: Tested that it builds. Version 4.97. Tagged as 'RISC_OSLib-4_97'