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
- assignee changed to: "dkf"
- cmimetype changed to: "text/plain"
- 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.
- foundin changed to: "obsolete: 8.4.7"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "18. Commands M-Z"
- title changed to:
read $channel [file size "myfile"] doesn't work in 8.4 head
- type changed to: "Bug"