Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2023-10-04
10:06 • Closed ticket [1cbea1cb72]: Default zipfs mount point is inconsistent with docum... artifact: 2c7ab0ba47 user: apnadkarni
2023-09-10
17:06 • New ticket [1cbea1cb72]. artifact: a94e144254 user: apnadkarni

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.