Tcl_FSGetNormalizedPath returns volume relative
Closed / Fixed923568ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 23 years ago
Descriptionplain2004-03-26 00:16:51
If Tcl_FSGetNormalizedPath is passed a volume-relative path name, and the volume is not the one where the working directory resides, it returns the path name in volume-relative form. The comments in the code say that it makes it relative to the root of the given volume, but that's not what actually happens. This causes considerable surprise, since a normalized path is supposed to be a unique identifier for a file. I show below a brief case that demonstrates the problem. % cd h: % pwd H:/ % file norm c:foo c:foo We should be able to design a regression test case that exhibits the behavior on any system with at least two drives, but I haven't done so.
vincentdarleyplain2004-03-27 01:56:50
Logged In: YES user_id=32170 Thanks -- fixed in cvs, with a test.
vincentdarley Ticket [923568ffff]: 2 changes
[History diff]2004-03-27 01:56:51
Log in (anonymous is fine) to add a comment.