Skip to content
Tcl Source Code History Of Ticket 3002987fffffffffffffffffffffffffffffffff
Login

History Of Ticket 3002987fffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 3002987fffffffffffffffffffffffffffffffff

  1. Ticket change [134d83b161] (rid 124190) by coldstore on 2010-05-17 22:46:04:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Someone just reported to me that Windows [glob] returns files named .* under [glob *]
      
      This is quite inconvenient, as in this case we're running over a SVN checkout, with .svn directories all over.  I'll have to further-filter the results from [glob] to exclude these.
      
      I'd suggest a -unix 1 option or something so I can make [glob] work just as it does under unix.
      
      
    4. foundin initialized to: "None"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "coldstore"
    10. subsystem initialized to: "16. Commands A-H"
    11. title initialized to: "new option for [glob] to behave like unix"
    12. type initialized to: "RFE"
  2. Ticket change [4125594942] (rid 116135) by ferrieux on 2010-05-20 14:33:22:

    1. icomment:
      Hmmm, what about being bold for once ? At the cost of a minor potential incompatibility, we could continue Tcl's (original) tradition of wiping out platform differences by fixing the Windows side instead of adding yet another platform-specific option...
      
      Is this cost deemed too high ?
      
      
    2. login: "ferrieux"
    3. mimetype: "text/plain"
    4. username: "ferrieux"
  3. Ticket change [00b75e1bf5] (rid 119367) by dkf on 2010-05-20 15:46:09:

    1. icomment:
      By default, [glob] doesn't return hidden files and [glob -types hidden] returns only hidden files. The *real* issue is that your SVN client isn't marking the .svn directories as hidden; that's not Tcl's bug!
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  4. Ticket change [c315a21c3f] (rid 111594) by hobbs on 2010-05-21 23:49:42:

    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"