Overview
| Artifact ID: | 4b0baa612c2a8a03b2ba800505b4d876200c9eab |
|---|---|
| Ticket: | 2994165fffffffffffffffffffffffffffffffff
Signature of Tcl_FSGetNativePath and TclpDeleteFile |
| User & Date: | dgp on 2010-08-16 21:49:02 |
Changes
- closedate changed to: "2010-08-16T14:49:02"
- closer changed to: "dgp"
- icomment:
allow_comments - 1 The change you've made with this patch looks good to me. It takes some effort to see that because the change is near a lot of confusion and messiness in the Tcl_Filesystem. We have two ways to get a driver-specific rep for a filesystem path: Tcl_FSGetNativePath() Tcl_FSGetInternalRep() and we have one way to set Tcl_FSNewNativePath() By the names, you would think that GetNativePath and NewNativePath were a corresponding pair, but in fact it is NewNativePath and GetInterpRep that go together and offer the way to interact with the "native" or "internal" rep used by any Tcl_Filesystem at all. Tcl_FSGetNativePath is the oddball, specialized convenience interface useful only for the one Tcl_Filesystem declared to be "native" in the current app. Since it's out on its own, this patch is a good change, and one apparently suggested in the docs for some time. If GetNativePath actually were a pair with NewNativePath, I would insist they agree and operated on ClientData. It takes some effort to see that is not the case. Anyhow, I think this patch is good for Tcl 8.6. Thanks!
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Accepted"
- status changed to: "Closed"
- username: "dgp"