Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b9f42233d20e04952112d392eb5164bebfe3902d913549325cef966d1360098a
Ticket: 02d5d65d70adab975fce0c87800140999ab80f3e
File subsystem commands and operations suffer from unneeded (but expensive) path normalization
User & Date: dgp on 2024-12-02 13:35:23
Changes

  1. closedate changed to: "2460647.06624785"
  2. icomment:
    
    The commit [a6a5870235ce08b2] modifies the routine
    TclFSCwdIsNative(), adding a call to Tcl_FSGetCwd().
    
    That call (eventually) allocates a Tcl_Obj in line 735:
    
            tsdPtr->cwdPathPtr = Tcl_NewStringObj(str, len);
    
    and that allocation leaks.
    
    Not yet clear to me why the existing refcount housekeeping
    isn't able to handle this.
    
  3. login: "dgp"
  4. mimetype: "text/plain"