|
2004-09-14
| ||
| 15:10 | • Closed ticket [1027688fff]: read $channel file size "myfile" doesn&#... artifact: 2fc0d9c7f5 user: dkf | |
| 04:53 | • New ticket [1027688fff]. artifact: b64e533e9d user: nobody | |
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.