Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 754995bb048bf8d78c1daed326090dc6d0ba1c277aa13d0a3ac8445dea92d84a
Ticket: e5ca49bcfaf96ec3744f4462fce06f943421202e
glob -type {d f} in a ZIP filesystem returns the directory names only
User & Date: anonymous on 2024-01-18 16:14:10
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    Interactive test:
    
    tclsh9.0
    % cd $tcl_library
    % pwd
    //zipfs:/lib/tcl/tcl_library
    % glob -types d *
    platform tcltest msgcat http cookiejar opt encoding tzdata msgs
    % glob -types f *
    tclIndex clock.tcl word.tcl readfile.tcl writefile.tcl history.tcl parray.tcl safe.tcl tm.tcl foreachline.tcl pkgIndex.tcl init.tcl install.tcl package.tcl auto.tcl
    % glob -types {d f} *
    platform tcltest msgcat http cookiejar opt encoding tzdata msgs
    
    As revealed by the above test, in the //zipfs: volume the "glob -types {d f} *" command returns the names of the directories only; the names of the files are missing.
    
  5. foundin changed to: "trunk"
  6. is_private changed to: "0"
  7. login: "anonymous"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "88b2dc5e3b400110d078c7fa7678408b0c8b15a5"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "anonymous"
  14. subsystem changed to: "37. File System"
  15. title changed to:
    glob -type {d f} in a ZIP filesystem returns the directory names only
    
  16. type changed to: "Bug"