suyu/src
Morph 76b2313b25 common: fs: Amend IsFile check in FileOpen / (Write/Append)StringToFile
This check was preventing files with the Write or Append file access modes from being created, as per the documented behavior in FileAccessMode.
This amends the check to test for the existence of a filesystem object prior to checking whether it is a regular file.
Thanks to liushuyu for pointing out that removing the check altogether would not guard against attempting to open non-regular files such as directories, symlinks, FIFO (pipes), sockets, block devices, or character devices.
The documentation has also been updated for these functions to clarify that a file refers to a regular file.
2021-06-22 15:06:58 -04:00
..
audio_core Various suggestions by v1993 and lioncash 2021-06-07 12:51:59 +02:00
common common: fs: Amend IsFile check in FileOpen / (Write/Append)StringToFile 2021-06-22 15:06:58 -04:00
core common: fs: Remove [[nodiscard]] attribute on Remove* functions 2021-06-22 13:36:24 -04:00
input_common Merge pull request #6407 from lat9nq/fix-libusb-2 2021-06-10 23:35:30 -07:00
tests tests: Add tests for host memory 2021-06-11 17:27:06 +02:00
video_core common: fs: Remove [[nodiscard]] attribute on Remove* functions 2021-06-22 13:36:24 -04:00
web_service externals: httplib: replace custom httplib header with upstream as submodule. 2021-06-19 02:18:58 +05:30
yuzu common: fs: Remove [[nodiscard]] attribute on Remove* functions 2021-06-22 13:36:24 -04:00
yuzu_cmd nvflinger: Add toggle to disable buffer swap interval limits 2021-06-17 01:41:56 -04:00
.clang-format
CMakeLists.txt CMakeLists: Enforce C4715 on MSVC 2021-05-17 03:48:58 -04:00