mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-06 06:38:20 +00:00
map_file_from_path now passes the appropriate flags on to os.open instead of always calling it with os.O_RDWR. It will no longer try to open a file with write permissions if the user didn't request write access to the file mapping (or vice-versa).