TclVFS

View Ticket
Login
Ticket Hash: 3f7cf4d91103dc98edf1457a33e761465eca22ca
Title: Can't browse tar files that don't have dirs stored
Status: Open Type: Code_Defect
Severity: Important Priority: Immediate
Subsystem: Resolution: Open
Last Modified: 2019-01-01 20:24:06
Version Found In: trunk
User Comments:
anonymous added on 2019-01-01 20:15:58:

If a tar file doesn't contain an entry for the directories of (some) files stored in the archive, glob will not list the directory of those files. This means it is not possible to find the files unless the directory name is known through some other method.

For example, if a tar file only contains the file bla/example.txt, but not the directory bla/, a glob of the mount point does not return any files/directories.


anonymous added on 2019-01-01 20:24:06:

Example of a tar file showing this problem: http://www.tclcode.com/bugs/bla.tar

Patch providing a possible fix: http://www.tclcode.com/bugs/3f7cf4d911.patch