Overview
| Artifact ID: | e20c41b30d2f1badb6f431562cad22a88be8164d |
|---|---|
| Ticket: | f00009f7ce4b58c8b6caedf976e37ea78be6d3c0
file exists, mtime... procedures leaks |
| User & Date: | RP. on 2015-07-29 08:37:45 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
When I use command "file mtime" or "file exists" with parameter provided as result of "file join" command it leaks memory. Example: set path1 C:/example.txt set path2 [file join C:/ example.txt] file exists $path1 ;# this not leaks file exists $path2 ;# this leaks Note that there is difference between representations of both paths: % ::tcl::unsupported::representation $path1 value is a pure string with a refcount of 4, object pointer at 006587A0, string representation "C:/example.txt" % ::tcl::unsupported::representation $path2 value is a string with a refcount of 2, object pointer at 00658338, internal representation 00665318:00000000, string representation "C:/example.txt"
- foundin changed to: "8.6.4"
- is_private changed to: "0"
- login: "RP."
- priority changed to: "5 Medium"
- private_contact changed to: "8aeeb7bf106b6b88d87c6e2a0fdc8f4887991b9f"
- resolution changed to: "None"
- severity changed to: "Important"
- status changed to: "Open"
- submitter changed to: "RP."
- subsystem changed to: "37. File System"
- title changed to: "file exists, mtime... procedures leaks"
- type changed to: "Bug"