Overview
| Artifact ID: | 3301871a9a1521200768d710c59c21a2bd38dd43 |
|---|---|
| Ticket: | 2886914fffffffffffffffffffffffffffffffff
unexpected absolute path with vfs |
| User & Date: | blacksqr on 2009-10-31 12:49:32 |
Changes
- icomment:
It is incorrect for [file pathtype] to return a value of "absolute" in the given example. Since there is no path separator in the string "testvfstest", the only time [file pathtype testvfstest] should return "absolute" would be if there were a mounted volume named "testvfstest", but there isn't. It is also incorrect for [file join testvfstest] to return "testvfs/test", even if it were correct that testvfstest was an absolute path. If [file join] is passed an absolute path as the sole argument, the argument should be returned unchanged. If [file join] is passed an arbitrary string that doesn't correspond to an existing file, the string should also be returned unchanged. Whichever is the case, [file join] should simply pass the argument back unchanged. There is no file or volume named "testvfstest". The handler code written by me is not called when either the [file pathtype] command or the [file join] command is executed. Thus the problem is either with Tcl or the Tclvfs extension.
- login: "blacksqr"
- mimetype: "text/plain"
- username: "blacksqr"