devkitPro / wut

Let's try to make a Wii U Toolchain / SDK for creating rpx/rpl.
zlib License
244 stars 52 forks source link

Implement support for more flags (combinations) when opening files with the devoptab #250

Closed Maschell closed 2 years ago

Maschell commented 2 years ago

The target file when calling std::filesystem::copy_file opens the file with O_CREAT | O_WRONLY | O_EXCL. This PR adds supports for the O_CREAT | O_WRONLY flag-combination and add a checks for O_EXCL