Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b64e533e9ddea337b33034087f13d5ab4599a206
Ticket: 1027688fffffffffffffffffffffffffffffffff
read $channel [file size "myfile"] doesn't work in 8.4 head
User & Date: nobody on 2004-09-14 04:53:52
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    I just checked out the head of the 8.4 branch. It
    appears that there is a bug related to the "read"
    command when executing this test case:
    
    set f [open "myfile" r]
    set contents [read $f [file size "myfile"]]
    
    nothing is read.
    
    But, if you do this:
    
    set bytes [file size "myfile]
    set contents [read $f $bytes]
    
    it works fine.
    
    This worked in earlier versions of 8.4.
    
    
  4. foundin changed to: "obsolete: 8.4.7"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "18. Commands M-Z"
  10. title changed to:
    read $channel [file size "myfile"] doesn't work in 8.4 head
    
  11. type changed to: "Bug"