Overview
| Artifact ID: | 93fa184cb298066e66e5f3b3bcb6eb137685aa23 |
|---|---|
| Ticket: | 2827000fffffffffffffffffffffffffffffffff
tcl incorrectly reports eof to application |
| User & Date: | andreas_kupries on 2009-07-29 02:21:16 |
Changes
- icomment:
Line 72 of chan.tcl, method 'initialize'. -blocking 0 at this point is wrong. A channel starts out in mode 'blocking'. To then set the underlying channel into non-blocking will likely confuse things when it comes to reading, especially regarding short reads (Not possible in blocking mode except when reaching eof. With the underlying channel set to non-blocking on init this can give short reads before eof). Note that this should not have an effect on the problem we are looking into, because there both channels are set non-blocking. Well, should be, and the save.anno log seems to concur.
- login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"