Overview
| Artifact ID: | 8a8bfae82772cb38850427045b87b48c94aaa0b4 |
|---|---|
| Ticket: | 523217ffffffffffffffffffffffffffffffffff
refcount crash in file readlink |
| User & Date: | nobody on 2002-03-01 03:00:14 |
Changes
- icomment:
Logged In: NO That DecrRefCount is certainly needed according to the way the code is documented -- 'Tcl_FSLink' returns an object with refCount 1, which goes up to 2 when it is set as the interp's result. So therefore it should be decremented. I can't see anything obviously wrong, but Tcl_FSNewNativePath is the likely culprit. Perhaps something odd is happening with the 'pure normalized' path- type Tcl_Obj that is created. There is some slightly tricky logic with these, since they actually contain a circular reference, by design. -- Vince. As far as a more robust test suite on VFS stuff goes, that's hard to do without adding a proper vfs package to the core. Ideas appreciated, however.
- login: "nobody"
- mimetype: "text/plain"
- username: "nobody"