Overview
| Artifact ID: | 7d0817c64af054555feb5a7e25d2cb6585028afb |
|---|---|
| Ticket: | 1379287fffffffffffffffffffffffffffffffff
TclFSNormalizeAbsolutePath() fails on /tmp/.. |
| User & Date: | dgp on 2006-03-02 04:13:37 |
Changes
- icomment:
Logged In: YES user_id=80530 Within Tcl_FSGetNormalizedPath() at line 1830 of tclPathObj.c: Tcl_Obj *absolutePath = fsPathPtr->translatedPathPtr; The variable name "absolutePath" suggests the code expects that path to have pathtype TCL_PATH_ABSOLUTE. In this example, that is not the case. The value is "..", which has pathtype TCL_PATH_RELATIVE. If the code does in fact depend on absolutePath being an absolutePath, then things are broken somewhere. If it does not depend on that, then the variable name choice is poor.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"