Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6b6934ff70b4ce9ded0fdbab91af3ff516c4d8c4
Ticket: 1072136fffffffffffffffffffffffffffffffff
change to tcl_findLibrary breaks freewrap
User & Date: dgp on 2004-11-29 23:15:15
Changes

  1. icomment:
    Logged In: YES 
    user_id=80530
    
    
    We've previouslty established that
    freewrap insists on making its own
    interpretation of strings beginning
    with /tcl or /tk that is inconsistent
    with Tcl's normal parsing of path
    names on Windows.
    
    [file normalize], like any operation
    that treats a value as a filesystem
    path, will keep a cache of the
    resolved filesystem name in
    the internal rep of the value.
    Nothing buggy about that.
    
    Since freewrap insists on interpreting
    the string differently, it should take
    care to extract only the string value
    and act on it, to avoid problems
    with the internal rep that are contrary
    to its desires.
    
    It must be emphasized that the ability
    to set the internal rep cache of a Tcl_Obj
    is in no way "buggy" or "an overwrite of
    memory".  It's Tcl functioning properly.
    
    It's unfortunate the simple  change I made
    was not enough to restore freewrap's
    functioning, but the bug is in freewrap,
    and fixes and/or workarounds really belong there.
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"