Overview
| Artifact ID: | 2379faf430e814a670cf8774865f7c83ed9761cc |
|---|---|
| Ticket: | da7c079978cb3183731147d2e6a555794416a5bf
FS strips root '/' from FS root volume "zvfs:/" |
| User & Date: | anonymous on 2017-06-11 02:02:11 |
Changes
- icomment:
There seems to be many places in generic/ which address windows peculiarities. The volume relative stuff is one of them. I'm guessing that Tcl has not considered other volume relative fs' I have an extremely bare-boned test code for this prob. I found that I am able to use FSNormalizePathProc() to detect and, it look like, fix the bogus path. In the hope it could be useful, you can find the code here: https://chiselapp.com/user/iamdave/repository/Testing/index I think my "fix" is a kludge -- if Tcl accepts "fs:/" from FSListVolumesProc() then Tcl should handle them properly. Perhaps TclFSNormalizeAbsolutePath in tclPathObj.c should check the volume prefix against all fs' registered and not have a special case for windows. Otherwise, please make the documentation more clear. If the current Tcl behavior is correct, then Tcl should force a fs to "mount" itself within Tcl's unix type fs rooted at '/'. Again, a reference implementation of a full Tcl vfs would be very, very helpful.
- login: "anonymous"
- mimetype: "text/plain"
- username: "[email protected]"