Tcl Source Code

Ticket Change Details
Login
Overview

Artifact ID: 7fbe0653a71b524285de8e828fe5224b8bf220b8
Ticket: f00009f7ce4b58c8b6caedf976e37ea78be6d3c0
file exists, mtime... procedures leaks
User & Date: sebres 2015-07-30 10:29:40
Changes

  1. icomment:
    New findings here: it's not a "file join" direct (may be still "Tcl_FSJoinToPath" despite called) - is enough to give to "file exists" an object, that will be destroed hereafter, because this code leaks exact like another:
    ```
    time {file exists [string trim "C:/example.txt "]} 100000
    ```
    
    May be it is Tcl_FSConvertToPathType.
    
  2. login: "sebres"
  3. mimetype: "text/plain"