Overview
| Artifact ID: | 5ba48c3364c01c6375146fb44770c8651c87428b92699710fbe4472c8f6260f3 |
|---|---|
| Ticket: | 14db54d81e28edc9bf4e4eb25ade064b9d99b658
glob on zipfs root returns root itself |
| User & Date: | apnadkarni on 2023-09-10 17:01:44 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-markdown"
- comment changed to:
Sample below ``` % zipfs mount ../tests/zipfiles/test.zip [zipfs root] % glob -dir [zipfs root] * //zipfs:/testdir //zipfs:/test //zipfs:/ % glob //zipfs:/* //zipfs:/testdir //zipfs:/test //zipfs:/ % glob -tails -dir [zipfs root] * testdir test . % cd [zipfs root] % glob * testdir test {} ``` As seen above when an archive is mounted at //zipfs:/ globbing the directory returns the //zipfs:/ as one of the results. In the last two cases it returns "." or the empty string as one of file names. This does not seem correct. Globbing / on Unix or C:/ on Windows does not behave this way. The root directory of the volume should not be returned as one of the contained files/dirs. - is_private changed to: "0"
- login: "apnadkarni"
- priority changed to: "5 Medium"
- private_contact changed to: "9546e9877f1a8899e25a89082561ee694e7fb402"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "apnadkarni"
- subsystem changed to: "- New Builtin Commands"
- title changed to: "glob on zipfs root returns root itself"
- type changed to: "Bug"