Closed brad0 closed 2 months ago
RISC OS is an awkward one - I build using a cross compiler with the UnixLib module as a dependency (supplied with the cross compiler). So, until strlcpy and friends are included in the cross compiler's libc headers and abstraction library, Matrix Brandy will have to continue using the internal my_strlcpy() and the macro that implements strlcat() using strncat+strlen.
Ok, cool. Wasn't sure about RISC OS just thought I would mention what I noticed.
Closing this as it depends on a toolchain update which rarely sees updates...
Is there a macro or some means of determining the RISC OS version?
I noticed 5.30 did a whole sync of a bunch of stuff from FreeBSD which meant bringing in strlcpy and strlcat.
https://www.riscosopen.org/content/downloads/summary-rom-5-30/tungsten-5-30