Skip to content
Tcl Source Code View Ticket
Login

View Ticket

zipfs find does not take links into account

Open5030db5debc3df3e00a6203d010574fc574a762cCreated 3 years agoUpdated 3 years ago
Descriptionmarkdown2023-09-24 17:00:59

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.

Log in (anonymous is fine) to add a comment.