Tcl Source Code

View Ticket
Login
Ticket UUID: 5030db5debc3df3e00a6203d010574fc574a762c
Title: zipfs find does not take links into account
Type: Bug Created on: 2023-09-24 17:00:59
Submitter: apnadkarni Assigned to: nobody
Subsystem: - New Builtin Commands Severity: Important
Priority: 5 Medium Last modified: 2023-09-24 17:00:59
Status: Open Closed by: nobody
Resolution: None Closed on:
Version: 8.7
Description:

Given the following directory layout example where the l entries are cross links to the other sibling directory

[apn@tcltk build]$ find xx
xx
xx/a
xx/a/f
xx/a/l
xx/b
xx/b/g
xx/b/l

zipfs find returns

% llength [zipfs find xx]
3990

It is surprising it even terminates. The number 3990 is very close to that seen in this bug which suggests an internal limit has stopped an infinite loop.