Default zipfs mount point is inconsistent with documentation.
Closed / Fixed1cbea1cb72ba94570cc0d3fc30d1cd79535f3ee5Created 3 years agoUpdated 3 years ago
Descriptionmarkdown2023-09-10 17:06:01
Passing an empty string as the mount point, mounts the archive at the zipfs root.
% zipfs mount ../tests/zipfiles/test.zip ""
% zipfs mount
//zipfs:/ D:/src/tcltk/wip/tcl/tests/zipfiles/test.zip
However, the manpage states If mountpoint is specified as an empty string, it is defaulted to the file path. TIP 430 seems to agree but the code has evolved differently, possibly for a reason, and I am not sure whether the documentation needs to be fixed or the code.
apnadkarniplain2023-10-04 10:06:29
Fixed manpage in [303053af53]. The current implementation does not permit mounting outside of //zipfs:/ and not easily changed.
Log in (anonymous is fine) to add a comment.