Overview
| Artifact ID: | 5190b90a43c4d9a76ea3e5d15bff3df0e0055076 |
|---|---|
| Ticket: | 2918610fffffffffffffffffffffffffffffffff
Wrong file opened |
| User & Date: | ferrieux on 2009-12-22 00:12:41 |
Changes
- icomment:
I am an absolute ignorant of these things, but single-stepping shows that in the TclPathPart routine, case TCL_PATH_ROOT, when the result object is created, it is built by half-hearted duplication: the PATHOBJ itself is properly duplicated, but its fields are only lazily separated from the original. Indeed: normPathPtr is actively split off, because it holds the prime result; similarly the string rep is proprely separated (by T_DupObj) and updated. However, the other fields of the fsDupPtr are left untouched, and they are shared with the original path (argument of [file rootname]): translatedPathPtr and nativePathPtr. I assume that these should be simply invalidated, though I don't know how (not much time to dive now).
- login: "ferrieux"
- mimetype: "text/plain"
- username: "ferrieux"