[PR #760] [MERGED] file_system: a GAME: name inside a missing folder fails with ERROR_PATH_NOT_FOUND, as on the host (OLD-10004) #798

Closed
opened 2026-11-26 20:19:05 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/760
Author: @abnalstlll-byte
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/24/2026
Merged by: @QemmHD

Base: main ← Head: restore/old-10004-fs-missing-folder-error


📝 Commits (1)

  • 5112ec1 file_system: a GAME: name inside a missing folder fails with ERROR_PATH_NOT_FOUND, as on the host

📊 Changes

3 files changed (+56 additions, -10 deletions)

View changed files

📝 docs/runtime_imports.md (+3 -1)
📝 runtime/shims/file_system.cpp (+8 -7)
📝 runtime/test/file_system_test.cpp (+45 -2)

📄 Description

Restore old upstream PR 10004 (OLD-10004).

Replaces hardcoded ERROR_FILE_NOT_FOUND with missing_error() in delete_file_w, remove_directory_w, move_file_ex_w, and set_file_attributes_w so paths under non-existent directories return ERROR_PATH_NOT_FOUND as native Windows does.

Clean-room verified; zero game data.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/760 **Author:** [@abnalstlll-byte](https://github.com/abnalstlll-byte) **Created:** 11/24/2026 **Status:** ✅ Merged **Merged:** 11/24/2026 **Merged by:** [@QemmHD](https://github.com/QemmHD) **Base:** `main` ← **Head:** `restore/old-10004-fs-missing-folder-error` --- ### 📝 Commits (1) - [`5112ec1`](https://github.com/ubiquitarianism/leonida/commit/5112ec1a842076c713f5b01ad0a00bf09037b0f4) file_system: a GAME: name inside a missing folder fails with ERROR_PATH_NOT_FOUND, as on the host ### 📊 Changes **3 files changed** (+56 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `docs/runtime_imports.md` (+3 -1) 📝 `runtime/shims/file_system.cpp` (+8 -7) 📝 `runtime/test/file_system_test.cpp` (+45 -2) </details> ### 📄 Description Restore old upstream PR 10004 (OLD-10004). Replaces hardcoded ERROR_FILE_NOT_FOUND with missing_error() in delete_file_w, remove_directory_w, move_file_ex_w, and set_file_attributes_w so paths under non-existent directories return ERROR_PATH_NOT_FOUND as native Windows does. Clean-room verified; zero game data. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
4ld0 2026-11-26 20:19:05 +01:00
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#798
No description provided.