speed-dreams-code/src
Xavier Del Campo Romero 709f34eddc
win32/rmdir_r.cpp: Check directory exists beforehand
rmdir_r's POSIX counterpart returns 0 on non-existing directories.
However, when SHFileOperation is called on a non-existing directory,
usually with DE_INVALIDFILES (0x7C) as its return code, although it is
considered unreliable. [1] Therefore, its existence must be checked
first.

[1]: https://learn.microsoft.com/en-us/windows/win32/api/shellapi/nf-shellapi-shfileoperationa
2025-01-09 21:56:13 +01:00
..
drivers unitmain.cpp: Remove confusing error message 2025-01-01 21:05:12 +01:00
interfaces Look for driver name instead of index 2024-12-25 07:38:00 +01:00
libs win32/rmdir_r.cpp: Check directory exists beforehand 2025-01-09 21:56:13 +01:00
main Revert "Revert "main.cpp: Ignore errors from portability::rmdir_r"" 2024-11-29 06:47:28 +00:00
modules unzip.cpp: Check successful write with good() 2025-01-09 21:55:50 +01:00
tools Remove xmlversion 2024-12-31 06:14:06 +01:00
CMakeLists.txt Remove trailing newlines 2024-07-30 22:17:48 +00:00