From: <no...@tc...> - 2025-05-07 13:33:31
|
Automated mail by fx, on behalf of no...@tc... Ticket Change [1a2b5c638f259dc513edc85e41e578f90e9c293dc4164bf90ac9a0ab70f47635] [add throws can't read "tar": no such variable] By anonymous For Tcllib On 2025-05-07T13:28:57.936 Details https://core.tcl-lang.org/tcllib/tinfo?name=1a2b5c638f259dc513edc85e41e578f90e9c293dc4164bf90ac9a0ab70f47635 Ticket https://core.tcl-lang.org/tcllib/tktview/47ef6dc0c55d4a2bd7720a8cb6d502a7c9a28e0a Changed Fields assignee: 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** login: anonymous priority: 7 High ------------------------------------------------------------ See Tcl/Tk development @ http://core.tcl-lang.org/ ------------------------------------------------------------ |