mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 21:50:52 +01:00
[PR #317] file_system: GetVolumeInformation and GetVolumePathName answer for the GAME: and T: roots #369
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#369
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/317
Author: @Andretuta
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:old-pr/10051📝 Commits (5)
bf9ee6cfile_system: resolve virtual drive volume queries375782efile_system: make volume queries read-only and Unicode-safec56e778file_system: keep T volume queries read-only0fdb940file_system: keep overlay volume identity stable468b75afile_system: map G volume to package📊 Changes
2 files changed (+194 additions, -2 deletions)
View changed files
📝
runtime/shims/file_system.cpp(+97 -2)📝
runtime/test/file_system_test.cpp(+97 -0)📄 Description
Original description (mentions and
#Nreferences are disabled; the numbers refer to the old repository):@ItsNotRexed: an exe PR, as you asked.Rebased cleanly on current main; supersedes
#8669closed during org migration.What
GetVolumeInformationA/W and GetVolumePathNameA/W in
runtime/shims/file_system.cppanswer for the console GAME:/G: and T: roots. G: reports the host package volume, T: the volume of the overlay's nearest existing ancestor (stable before and after the overlay exists). The queries are read-only (they never create the overlay), Unicode-safe, reject a short buffer, and pass host paths through. One small change inparse_console: acreate_scratchflag so a query does not create the scratch folder.Why
Before this, the console roots fell through to the host and returned the wrong volume or failed.
Tested
file_system_test(clang-cl cross build, run under Wine): +97 lines of checks.*.?listing x1) are identical on main, Wine-only, unrelated.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.