Seems to be happening because the Windows platform file was updated in 5.6 to implicitly create the target file if it’s requested for read/write, while the Linux version still assumes the file already exists. Adding O_CREAT to the open() flags appears to fix the issue.
Steps to Reproduce
Run test System.Engine.Files.MMapFileWrite in a Linux configuration.
Thanks for the report. I’ve added a ticket to fix it up. It’s too late to make it into the 5.7 release, but I’ll make sure to get it in ASAP.
Thanks! Small update, after testing I found it’s also necessary to grow the file to the requested size, again to match the behavior of the Windows platform behavior.
Yup, I just made that change myself. ![]()