Overview
| Artifact ID: | fe079ceb24d3de670470c1597f7796320dcbcb16 |
|---|---|
| Ticket: | 1972879fffffffffffffffffffffffffffffffff
invalid pathname caching? |
| User & Date: | dgp on 2008-06-23 11:14:33 |
Changes
- icomment:
Logged In: YES user_id=80530 Originator: NO Distributors of browsers that crash deserve death. I had a lengthy comment to accompany that patch. All lost when my attempt to upload the patch file brought the browser down. I'm in no mood to duplicate it now. This fix is a hack to correct a bug in Tcl_FSGetTranslatedPath. It's not elegant, but I think forcing us through string reps at least gives us something we know will work, without requiring me to reverse engineer the whole "path" Tcl_ObjType. The code getting replaced by this patch was simply wrong wrong wrong. It forced a complete normalization of the path, and the whole "point" of a translated path is that it is an expansion of ~ **without** forcing a full normalization. In particular, a relative path was being coerced into absolute form. Others are welcome to contribute better fix(es).
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"