Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 84914b3e92dc78464e953d8a18144127e815e79f
Ticket: 823329ffffffffffffffffffffffffffffffffff
glob -types type/creator/hidden not implemented on OSX
User & Date: das on 2006-03-20 21:38:53
Changes

  1. icomment:
    Logged In: YES 
    user_id=90580
    
    patch attached that implements this on HEAD.
    
    also fixes minor issue with pattern==NULL case of 'glob -types hidden' on 
    unix ([glob -types hidden someFile] incorrectly returned 'someFile').
    
    the only thing not implemented is exclusion of files hidden via HFS invisible 
    flag from ordinary glob results (i.e. without -types hidden), to implement this 
    it would be necessary to do always do a costly stat & getattrlist for every file 
    traversed (as well as a major rewrite of unix TclpMatchInDirectory/
    NativeMatchType), I don't think it's worth the slowdown of the most common 
    glob cases to add this minor feature.
    [glob -types hidden] does however return the files with HFS invisible flag in 
    addition to files starting with '.'
    
    will commit this tomorrow if I don't hear any objections.
    
    
    
  2. login: "das"
  3. mimetype: "text/plain"
  4. username: "das"