Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c315a21c3f4543703158c9a17c069cd7e552f072
Ticket: 3002987fffffffffffffffffffffffffffffffff
new option for [glob] to behave like unix
User & Date: hobbs on 2010-05-21 23:49:42
Changes

  1. icomment:
    Agreed with dkf - Tcl is doing the "right" thing using native API speak.  Windows has a way to mark files hidden, and Tcl recognizes that.  Starting with '.' means nothing special on Windows.  However, I think these kinds of x-platform peculiarities can and should be abstracted with per-interp vars, like ::tcl::hideDotFiles or something, that control this kind of behavior.  The extra C cost would be negligible, and it would ease overall coding.
    
    Tcl OS X has several such items, but we haven't done it for more platforms.  Maybe it should be tcl::win::hideDotFiles and we can start building these up.
    
    
  2. login: "hobbs"
  3. mimetype: "text/plain"
  4. username: "hobbs"