read $channel [file size "myfile"] doesn't work in 8.4 head
Closed / Duplicate1027688fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 22 years ago
Descriptionplain2004-09-14 04:53:52
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.
dkf Closed ticket [1027688fff].
[History diff]2004-09-14 15:10:58
Log in (anonymous is fine) to add a comment.