Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 17730417b342b83849280a3fd547b575857308b2
Ticket: 2918610fffffffffffffffffffffffffffffffff
Wrong file opened
User & Date: ferrieux on 2009-12-22 17:52:18
Changes

  1. icomment:
    Rather than chasing the whereabouts of the various flags (which have a right to exist anyway), I prefer to fix the broken code.
    Attached patch does this by invalidating both the translated and native paths after the duplication.
    I am uneasy about the freeing of the native path though. Currently it is freed only if the fsRecPtr *and* associated freeIntRepProc are not-null, but in any case the nativepathPtr is reset to NULL. So there's a potential leak if either of the above fs-related pointers is null. But I didn't find any example of freeing code doing more. Is it correct ?
    
    
  2. login: "ferrieux"
  3. mimetype: "text/plain"
  4. username: "ferrieux"