Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 05deabe12d657f0aae2f439771fe3857d3821106
Ticket: 3023017fffffffffffffffffffffffffffffffff
win32 file isdirectory <dir>/* broken.
User & Date: andreas_kupries on 2010-06-29 21:12:59
Changes

  1. assignee changed to: "patthoyts"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Tracking down a problem in the AT build system I came across this bug in Tcl 8.6 HEAD as the underlying cause. The attached example session demonstrates it, 'file isdirectory' wrongly returning 1 for a non-existing path of the form '<dir>/*' (i.e. the last component is the * glob character'. This bug does not occur in Tcl 8.5, nor does it occur on Linux. It is specific to the win32 platform.
    
    A bisection search of the trunk showed that the problem was introduced between Nov 18, 2009 (ok) and Nov 25, 2009 (fail). My apologies for not providing a smaller interval. The CVS contents fail to build on Windows between Nov 19 to Nov 24.
    
    Still, reading the ChangeLog for this interval the one change standing out to me is
    
    2009-11-24  Pat Thoyts  <[email protected]>
    
            * tests/fCmd.test: [Bug 2893771]: Teach [file stat] to handle locked
            * win/tclWinFile.c: files so that [file exists] no longer lies.
    
    which is the reason for the initial maintainer assignment.
    
    All other changes look unrelated, with Jan's changes to the win/ build-system accounting for the interval of build failures.
    
  4. foundin changed to: "None"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "andreas_kupries"
  10. subsystem changed to: "37. File System"
  11. title changed to: "win32 file isdirectory <dir>/* broken."
  12. type changed to: "Bug"