Overview
| Artifact ID: | 41d206f77b9b2bccf879a116a4f1a716aa3dbbd9b11270d9540ab53834b976cd |
|---|---|
| Ticket: | 4676f5c780901f2df5b025b8270eaeabbfbd9095
glob -dir . returns corrupted/phantom entries near the top of the zipfs:/ tree |
| User & Date: | anonymous on 2026-08-03 22:12:33 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
Environment: Tcl 9.1b1, built from source (tclsh9.1), Ubuntu Linux. Reproduction, from a fresh tclsh: cd //zipfs:// pwd glob * glob -dir . * cd lib glob * glob -dir . * cd tcl glob * glob -dir . * cd tcl_library glob t* glob -dir . t* Actual output: % cd //zipfs:// % pwd //zipfs:/ % glob * lib % glob -dir . * ./ib/tcl % cd lib % glob * tcl % glob -dir . * ./tcl ./b/tcl % cd tcl % glob * tcl_library % glob -dir . * ./tcl_library % cd tcl_library % glob t* tclIndex tcltest tm.tcl tzdata % glob -dir . t* ./tclIndex ./tcltest ./tm.tcl ./tzdata At //zipfs:/ (which contains only "lib"), plain glob * correctly returns "lib", but glob -dir . * returns "./ib/tcl" instead. One level down, in lib (which contains only "tcl"), plain glob * correctly returns "tcl", but glob -dir . * returns "./tcl ./b/tcl". Two levels down (lib/tcl) and further (lib/tcl/tcl_library), glob -dir . * and glob -dir . t* both return correct results, matching plain glob exactly. This was repeatable for me. I'd appreciate it if someone could try the commands above and see if they get the same result.
- foundin changed to: "9.1b1"
- is_private changed to: "0"
- login: "anonymous"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "anonymous"
- subsystem changed to: "37. File System"
- title changed to:
glob -dir . returns corrupted/phantom entries near the top of the zipfs:/ tree
- type changed to: "Bug"