Make the argv strings mutable on Redox
As per the C standard:
The parameters
argc
andargv
and the strings pointed to by theargv
array shall be modifiable by the program, and retain their last-stored values between program startup and program termination.
The argv
strings in the main
function seems to be mapped as read only on Redox, modifying them causes page faults. Needed by OpenTTD.
Edited by Nagy Tibor