Overview
| Artifact ID: | 508d708aaf19cdec711e6c5ccd292cfd546c192c |
|---|---|
| Ticket: | 971976ffffffffffffffffffffffffffffffffff
Inconsistent naming in [file exists] |
| User & Date: | dgp on 2004-07-17 23:04:06 |
Changes
- icomment:
Logged In: YES user_id=80530 I'm probably missing something. Tcl makes use of the normalized path to help it decide which Tcl_Filesystem the path belongs to, I agree. By the time NativeCreateNativePath is called, it's already been determined that the path belongs to the "native" Tcl_Filesystem. At that point, there's no need to use a normalized path any more, the Tcl_Filesystem has been chosen. All that remains to do is produce the correct "nativePath" value in the intrep . I claim it is incorrect for the procedure that creates that value to be dropping trailing slashes. (At least for the Unix "native" filesystem, whose underlying system calls do want to distniguish between the path "file" and the path "file/") I still think NativeCreateNativePath needs re-examination, and perhaps more commenting. (While we're there, it should also be split into two TclpCreateNativePath routines, one each in the "win" and "unix" areas, so that we can get the #ifdef WIN32 out of a generic file. Then we can more easily manage any other platform differences in the "native" paths)
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"