#16441: BEntry fails to add volume name to BPath (non BeFS volumes)
------------------------------+------------------------------------
Reporter: smallstepforman | Owner: nobody
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: File Systems | Version: R1/beta2
Resolution: | Keywords: BEntry entry_ref BPath
Blocked By: | Blocking:
Platform: All |
------------------------------+------------------------------------
Comment (by smallstepforman):
Appending the following bit of code resolves the linking issue:
// append the following:
BVolume aVolume(ref.device);
Directory aDir;
aVolume.GetRootDirectory(&aDir);
aDir.FindEntry(path.Path(), &entry, true); // the path was initially
scanned and can fail
entry.GetPath(&path); // second scan now works
--
Ticket URL: <https://dev.haiku-os.org/ticket/16441#comment:2>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.