Tcl Source Code

View Ticket
Login
Ticket UUID: 6183f535c89dacdeec5a4295c082ca74d240c0aa
Title: zipfs find returns hundreds of duplicate file names for root mounts
Type: Bug Created on: 2023-09-11 02:48:39
Submitter: apnadkarni Assigned to: nobody
Subsystem: - New Builtin Commands Severity: Important
Priority: 5 Medium Last modified: 2023-09-19 11:46:50
Status: Closed Closed by: apnadkarni
Resolution: Fixed Closed on: 2023-09-19 11:46:50
Version: 8.7
Description:

If an archive is mounted on the root, zipfs find returns hundreds of duplicate file names.

% zipfs mount ../tests/zipfiles/test.zip ""
% zipfs list
//zipfs: //zipfs:/testdir //zipfs:/testdir/test2 / //zipfs:/test //zipfs:/
% lrange [zipfs find //zipfs:/] 0 10
//zipfs:/ //zipfs:/ //zipfs:/ //zipfs:/ //zipfs:/ //zipfs:/ //zipfs:/ //zipfs:/ //zipfs:/ //zipfs:/ //zipfs:/
% lrange [zipfs find //zipfs:/] end-10 end
//zipfs:/testdir/test2 //zipfs:/testdir/test2 //zipfs:/testdir/test2 //zipfs:/testdir/test2 //zipfs:/testdir/test2 //zipfs:/testdir/test2 //zipfs:/testdir/test2 //zipfs:/testdir/test2 //zipfs:/testdir/test2 //zipfs:/testdir/test2 //zipfs:/testdir/test2
% llength [zipfs find //zipfs:/]
3991
User Comments:
apnadkarni added on 2023-09-19 11:46:50:
Fixed in [65474fdc06].