Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3c158a81b083a67d59acfd5553499a84b6389c0b
Ticket: 3092089fffffffffffffffffffffffffffffffff
[file normalize] can remove path components
User & Date: nijtmans on 2013-01-08 02:22:14
Changes

  1. icomment:
    Thanks! I created the junction as described. But I have Windows 7, not Vista.
    
    The result: running the test suite, most of the time everything passes
    (except the well-known filesystem-1.3/1.4). But running them
    multiple times, or just fast after each other, I get random failures, like:
    ==== fCmd-4.7 TclFileMakeDirsCmd: multi levels deep FAILED
    ==== Contents of test case:
    
        cleanup
        file mkdir [file join td1 td2 td3 td4]
        glob td1 [file join td1 td2]
    
    ---- Test generated error; Return code was: 1
    ---- Return code should have been one of: 0 2
    ---- errorInfo: can't create directory "td1": permission denied
        while executing
    "file mkdir [file join td1 td2 td3 td4]"
        ("uplevel" body line 3)
        invoked from within
    "uplevel 1 $script"
    ---- errorCode: POSIX EACCES {permission denied}
    ==== fCmd-4.7 FAILED
    
    or
    ==== fCmd-7.2 FileForceOption: -force FAILED
    ==== Contents of test case:
    
        cleanup
        file mkdir [file join tf1 tf2]
        file delete -force tf1
    
    ---- Test generated error; Return code was: 1
    ---- Return code should have been one of: 0 2
    ---- errorInfo: error deleting "tf1": file already exists
        while executing
    "file delete -force tf1"
        ("uplevel" body line 4)
        invoked from within
    "uplevel 1 $script"
    ---- errorCode: POSIX EEXIST {file already exists}
    ==== fCmd-7.2 FAILED
    
    or
    ==== fCmd-23.1 TclMacRmdir: trying to remove a nonempty directory FAILED
    ==== Contents of test case:
    
        file mkdir [file join tfad dir]
    
        list [catch {file delete tfad}] [file delete -force tfad]
    
    ---- Test generated error; Return code was: 1
    ---- Return code should have been one of: 0 2
    ---- errorInfo: error deleting "tfad": file already exists
        while executing
    "file delete -force tfad"
        ("uplevel" body line 4)
        invoked from within
    "uplevel 1 $script"
    ---- errorCode: POSIX EEXIST {file already exists}
    ==== fCmd-23.1 FAILED
    
    Doing the same from the original directory, the same
    happens. So I think that those failures are not related
    at all to the bug handled here. They just happen,
    at random, with both the patched and unpatched
    Tcl 8.5.13 versions. I don't see any difference
    between them in the non-junction case.
    
    
  2. login: "nijtmans"
  3. mimetype: "text/plain"
  4. username: "nijtmans"