Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ed912568cf35b3328cf7e161316d1dde59b6c667a5fc1801b06d7524445744df
Ticket: c5825d32351bfc06ce6ded6e786374fc9550184c
tip 430 install.tcl/SUPPORT_BUILTIN_ZIP_INSTALL
User & Date: juliannoble2 on 2024-10-11 03:21:34
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-plain"
  4. comment changed to:
    library/install.tcl has the following switch statement
    
     switch [lindex $argv 1] {
       mkzip {
         zipfs mkzip {*}[lrange $argv 2 end]
       }
       mkzip {
         zipfs mkimg {*}[lrange $argv 2 end]
       }
       default {
         ::practcl::[lindex $argv 1] {*}[lrange $argv 2 end]
        }
    
     }
    
    I guess the second switch case should read mkimg instead of mkzip.
    
    I was interested to test the effects of this install feature - but building on windows with SUPPORT_BUILTIN_ZIP_INSTALL defined that results in an error
    
    tclZipfs.c:6494:36: error: use of undeclared identifier 'argvPtr'
     archive = Tcl_WCharToUtfDString((*argvPtr)[1], TCL_INDEX_NONE, &ds);
    
  5. is_private changed to: "0"
  6. login: "juliannoble2"
  7. priority changed to: "5 Medium"
  8. private_contact changed to: "957fdfcd8744611e3fe1f4896c7538b1d9bf47b2"
  9. resolution changed to: "None"
  10. severity changed to: "Minor"
  11. status changed to: "Open"
  12. submitter changed to: "juliannoble2"
  13. subsystem changed to: "- New Builtin Commands"
  14. title changed to: "tip 430 install.tcl/SUPPORT_BUILTIN_ZIP_INSTALL"
  15. type changed to: "Bug"