Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 55d393184e8fcb3405ffb2a0eb8a351f4c1d1ea9
Ticket: 3390073fffffffffffffffffffffffffffffffff
Bug in zlib command in 8.6b2
User & Date: rich123 on 2011-08-11 14:36:05
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Performing the example at the top of http://wiki.tcl.tk/4610 for generating a gzip file with 8.6b2 fails:
    
    % set file critcl.kit 
    critcl.kit
    % set fin [open $file rb]
    file5
    % set header [dict create \
            filename $file time [file mtime $file] comment "Created by Tcl[info patchlevel]"]
    filename critcl.kit time 1313070437 comment {Created by Tcl8.6b2}
    % set fout [zlib push gzip [open $file.gz wb] -header $header]
    file6
    % fcopy $fin $fout
    161266
    % close $fin
    % close $fout
    % exit
    rellis@d820:~/downloads/tcl86b2/inst/usr/local/bin$ gunzip -tv critcl.kit.gz 
    critcl.kit.gz:
    gzip: critcl.kit.gz: invalid compressed data--format violated
    
    8.6b2 was compiled for, and running under, Slackware 13.1 64-bit.  GCC version is 4.4.4.
    
    
  4. foundin changed to: "obsolete: 8.6b2"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "rich123"
  10. subsystem changed to: "18. Commands M-Z"
  11. title changed to: "But in zlib command in 8.6b2"
  12. type changed to: "Bug"