Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 353ca65a5be9f5850f7e24da75ff01af9b91e77e
Ticket: 3103656fffffffffffffffffffffffffffffffff
Case insensitive test result for test winFCmd-19.7
User & Date: nijtmans on 2010-11-12 20:13:58
Changes

  1. icomment:
    That could be explained by the function NativeStat, which
    takes different routes.
    
    First it tries CreateFile, then GetFileAttributesEx, and if that
    fails too it uses FindFirstFileW as a final attempt to get
    a handle. I could imagine that file normalization is different
    for files that are accessable (those might have a DOS-compatible
    name as well) than files that are not accessable.
    
    When I run your example the first time, I got:
    QWERTY: C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/tcl128.tmp  ne C:/Documents and Settings/Administrator/Local Settings/Temp/tcl128.tmp
    
    Manually changing the TEMP environment variable to the long form, I could run your example more than 50000 times without any failure.
    
    So, I suspect that your problem has to do with file accessability. Do you have something like a virus checker running which claims the temporary files just enough to make it temporary not accessable? That the direction I would search for. That would explain why no-one else saw this before....
    
    
    
  2. login: "nijtmans"
  3. mimetype: "text/plain"
  4. username: "nijtmans"