Overview
| Artifact ID: | 4b6006c1d879031665a6c3a81c249135bda8bec2 |
|---|---|
| Ticket: | 230478ffffffffffffffffffffffffffffffffff
another [fcopy] bug? |
| User & Date: | andreas_kupries on 2001-04-05 00:26:07 |
Changes
- icomment:
Logged In: YES user_id=75003 Yes, there is some trickery. If you look at 'TclCopyChannel', the procedure which calls 'CopyData' you will find that it configures the channels into blocking mode if there is no command (ptr). This means that the read calls will only return in case of an error (size < 0) or if the buffer is full or EOF was reached. Only in the case of EOF size == 0 is possible and EOF is handled specially at that point (breaking out of the loop). It also means that there is never a background flush running, so it avoids the second return too.
- login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"