Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3a46b75e975ae11e3865f383c3f3fd113f749a0b
Ticket: 3608360fffffffffffffffffffffffffffffffff
Incompatible behaviour of "file exists"
User & Date: nijtmans on 2013-03-18 21:03:13
Changes

  1. icomment:
    > I think you're misreading. This is (supposedly) a regression in 8.6
    > whereby, if 'x.tcl' exists in the current directory (but '*.tcl' does not),
    > [file exists *.tcl] returns 1.
    If it's a regression, then it's a regression in 8.5.13 as well, because
    I cannot reproduce it any more. But I think we fully agree.
    > At the very least, we could have a test for this! In fact, I'll write one.
    > [file exists] definitely shouldn't ever do wildcard expansion behind the
    > scenes on any platform.
    I fully agree with that: [file exists] shouldn't do wildcard expansion
    on any platform! That means: this change was not a regression,
    it was a bug-fix. I welcome your testcase!
    
    
    
  2. login: "nijtmans"
  3. mimetype: "text/plain"
  4. username: "nijtmans"