Overview
| Artifact ID: | 9922cdce00926fd7245678ec007547b659eec48d |
|---|---|
| Ticket: | 2001389fffffffffffffffffffffffffffffffff
empty string as path: troubling exceptions |
| User & Date: | dgp on 2008-06-24 03:09:54 |
Changes
- assignee changed to: "vincentdarley"
- cmimetype changed to: "text/plain"
- comment changed to:
While digging into the details of 1999176, the issue of how an empty string ought to be handled in a pathname context arises again and again. % file pathtype {} relative This suggests {} is a valid relative pathname. However: % file normalize {} % Unlike every other relative pathname, the normalized form is not an absolute pathname. Any code that assumes the value returned from [file normalize] or Tcl_FSGetNormalizedPath() is an absolute path gets tripped up on this exception. Even worse: % file system {} Unrecognised path If the empty string is a pathname, it's a pathname that belongs to no VFS at all. That's just broken. - foundin changed to: "obsolete: 8.6a0"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "36. Pathname Management"
- title changed to: "empty string as path: troubling exceptions"
- type changed to: "Bug"