Repository navigation
file_system: a GAME: name inside a missing folder fails with ERROR_PATH_NOT_FOUND, as on the host - #271
Closed
Andretuta wants to merge 1 commit into
Closed
file_system: a GAME: name inside a missing folder fails with ERROR_PATH_NOT_FOUND, as on the host#271Andretuta wants to merge 1 commit into
Andretuta wants to merge 1 commit into
Conversation
…TH_NOT_FOUND, as on the host Signed-off-by: Maxime Mansiet <AirKyzzZ@users.noreply.github.com>
This was referenced Nov 24, 2026
3 of 4 tasks
Collaborator
|
Closing: everything this pull request changes is already in Thanks for the work! If something here is still missing from AI-assisted (Claude Code, Claude Opus 5.5). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Original description (mentions and
#Nreferences are disabled; the numbers refer to the old repository):Claimed in the coordination issue as: new RT item (claim). Resubmits
#7316, closed in the reset.What and why
DeleteFile,RemoveDirectory,SetFileAttributesand the source ofMoveFile(Ex)answered everyGAME:name the title can't see withERROR_FILE_NOT_FOUND. The host tells two cases apart: a name inside a folder that is missing, or below a file, isERROR_PATH_NOT_FOUND, and only a missing name in a folder that exists isERROR_FILE_NOT_FOUND. Measured on Windows 10 22H2 with the real calls on a scratch folder: 3 for all four calls onmissing\x.txt,missing\deeper\x.txtandfile.txt\x.txt, 2 fornope.txt.CreateDirectory,CopyFile, the write opens andFindFirstFilealready make that split here.The four calls now pick the error with the same
is_folder(parent_of(parts))test the others use, so a folder the title removed counts as missing too. One existing check expectedERROR_FILE_NOT_FOUNDforDeleteFileW(GAME:\nope\missing.txt), wherenopedoesn't exist; it now expectsERROR_PATH_NOT_FOUND, the host's answer. One sentence indocs/runtime_imports.md.Same change as
#7316, on top of currentmain(d083a2c); the only conflict wasmainrenamingjointodisk_pathon theMoveFileline.Tested
Windows 10 22H2 (19045), RTX 2060 / NVIDIA 566.14, Ryzen 5 2600X, clang-cl 23.1.6 + lld-link, MSVC 14.44 STL, Windows SDK 10.0.26100, Ninja:
file_systempasses.#7316(b9c590fd2):file_system_test457 checks OK; withmain'sfile_system.cppit failed 9 (the 8 new path-not-found checks and the updated one).#7316: review, Windows (MSVC), RTX 5090, RTX 4070.No game files. AI-assisted (Claude Code).
Checklist
docs/design.md, with how it was confirmed. (no translator change)