Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 648a848992c83a9696ec186303455cee07357c3ba06471aa4c1e362fe2d99adc
Ticket: b9f3ff8fe69cae04239a2de23601d51b289dad06
Errors/ambiguities in zipfs(n) manual page
User & Date: apnadkarni on 2024-07-31 02:51:00
Changes

  1. icomment:
    In order,
    
    1. I think there should be no reason for a `package require` call as zipfs is part of the core. As Donal said on the mailing list, there is no reason for zlib (and therefore zipfs) not to be part of every Tcl. Also, unlike `msgcat`, the zipfs command is always present, not loaded on demand. My take would be to fix the documentation.
    
    2. See above which makes this moot. Removing the `Tcl_PkgProvide` call has no effect on Tcl and the test suite. The only question is third party extensions rely on it (doubtful since this is new in 8.7/9). My opinion is this line should be deleted so it is not a package at all.
    
    3. I prefer not to limit what [zipfs root] might be in some future release. There is no reason to document //zipfs:/ is there? People should be encouraged to use [zipfs root] and not hard code a literal.
    
    4. Have not looked at mkimg. Afaik it is not covered in the test suite at all. Needs further investigation.
    
    5. I do not know why it is marked experimental. Perhaps because the mechanism of appending the ZIP to the executable is not workable on all executable formats?
    
  2. login: "apnadkarni"
  3. mimetype: "text/x-markdown"