Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5f7ccf615497c11df5bb573a3df87b46223e9277
Ticket: 929534ffffffffffffffffffffffffffffffffff
OS X: filesystem FAILED link normalisation
User & Date: tauvan on 2004-04-30 12:31:26
Changes

  1. icomment:
    Logged In: YES 
    user_id=1011552
    
      The errno for both realpath fails is 13, EACCES. The second thing to 
    note is that realpath doesn't necessarily point to the offending path 
    segment in its return, sometimes it does and sometimes it doesn't. 
    Realpath depends on several unix functions that are access sensitive. 
    fchdir, chdir, and getcwd are access sensitive.
      If you are willing to create a patch and try something a little 
    different, I've got some code that fixes the fileSystem.test fails, 
    normalizes paths, consistently points to the last good path segment, 
    always has nextCheckpoint point to the last good separator, runs at 
    minimum 10% faster with threads enabled and in the 20s with threads 
    disabled. It solves at least 4 realpath issues, removes the security 
    issue of access(), etc, etc. And if you wish to keep the two realpaths 
    and the slow way, I can provide a wrapper to insert code which only 
    reduces speed increases by about 1%.
    
    
  2. login: "tauvan"
  3. mimetype: "text/plain"
  4. username: "tauvan"