Tcl Library Source Code

Ticket Change Details
Login
Overview

Artifact ID: 1a2b5c638f259dc513edc85e41e578f90e9c293dc4164bf90ac9a0ab70f47635
Ticket: 47ef6dc0c55d4a2bd7720a8cb6d502a7c9a28e0a
add throws can't read "tar": no such variable
User & Date: anonymous 2025-05-07 13:28:57
Changes

  1. assignee changed to: ""
  2. icomment:
    using **::tar::add** - methode will cause a script error, because in this method
    
    ~~~tcl
    proc ::tar::SetupWriting {file do {mode rb+}} {
        set fh [::open $tar $mode]
        if {[IsGzFile $fh]} {
    	close $fh
    	Err "cannot $do gzip compressed tar" ZLIB UNSUPPORTED WRITE
        }
        return $fh
    }
    ~~~
    
    the variable **$tar** in **open** command does not exist, needs to be changed to **$file**
    
  3. login: "anonymous"
  4. mimetype: "text/x-markdown"
  5. priority changed to: "7 High"