Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0f500f25561c72e198fb9bcf8f389150572b3dc4
Ticket: 929534ffffffffffffffffffffffffffffffffff
OS X: filesystem FAILED link normalisation
User & Date: das on 2004-04-20 14:14:34
Changes

  1. assignee changed to: "wolfsuit"
  2. icomment:
    Logged In: YES 
    user_id=90580
    
    sorry for the delay
    
    this a known problem with threaded tcl on OSX; the OSX realpath is not 
    threadsafe (it uses chdir internally and the current dir is process global...), 
    so we've had to disable it in the threaded build:
    
        2003-05-13  Daniel Steffen  <[email protected]>
        
            * unix/tclUnixPort.h: worked around the issue of realpath() not
            being thread-safe on Mac OS X by defining NO_REALPATH for 
            threaded builds on Mac OS X. [Bug 711232]
    
    see 
    
            https://sourceforge.net/tracker/?
    func=detail&atid=110894&aid=711232&group_id=10894
    
    at the time, Zoran said he'd submitted a bugreport with Apple about this, 
    don't know the current status of that though; Jim?
    
    to fix this in tcl, TclpObjNormalizePath() would need to be implemented 
    properly for systems without realpath
    
         /* 
         * We should really now convert this to a canonical path.  We do
         * that with 'realpath' if we have it available.  Otherwise we could
         * step through every single path component, checking whether it is a 
         * symlink, but that would be a lot of work, and most modern OSes 
         * have 'realpath'.
         */
    
    (in fact realpath on OSX does exactly this, but in an thread-unsafe 
    manner...)
    
    or we could add a crossplatform realpath() to compat.
    
    tauvan, for questions that are "not bugs" use the tcl-mac mailing list:
            https://lists.sourceforge.net/lists/listinfo/tcl-mac
    
    
  3. login: "das"
  4. mimetype: "text/plain"
  5. username: "das"