[Cuis-dev] browsing multiple volumes in Windows
David Faitelson
davidf at afeka.ac.il
Wed Nov 24 02:32:11 PST 2021
Dear all,
I've noticed there's a bug in the code for browsing multiple Windows volumes. When I try to open my second volume (P: mounted to some cloud storage provider) it shows me C:
I've tracked down the problem to a bug in FileSystemEntry >> pathComponents: drive:
it does not update 'drive' when the token list is empty, but this is what happens when we ask it to open a root drive.
I've added a statement right at the beginning
self drive: driveStringOrNil.
Which appears to solve the problem.
Cheers,
David
Dr. David Faitelson
Senior Lecturer
| Office: +972-3-7688782 | Mobile: +972-52-6568896
Mivtza Kadesh St., Tel-Aviv 38
www.afeka.ac.il<http://www.afeka.ac.il/>
[cid:b16600bf-8360-46cd-abfc-f15484a35bca]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20211124/8ed0dbfb/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Outlook-dr23log4.png
Type: image/png
Size: 16213 bytes
Desc: Outlook-dr23log4.png
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20211124/8ed0dbfb/attachment-0001.png>
More information about the Cuis-dev
mailing list