Overview
| Artifact ID: | 55148066ae46e508c26f630d8e75ed1d4444a1c5 |
|---|---|
| Ticket: | 230478ffffffffffffffffffffffffffffffffff
another [fcopy] bug? |
| User & Date: | dgp on 2001-01-30 17:55:05 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
The [fcopy] docs say: Without the -command option, fcopy blocks until the copy is complete and returns the number of bytes written to outchan. In revision 1.28 of generic/tclIO.c in CopyData(), how does the code avoid the "return TCL_OK" on line 7066 and line 7109 when no -command option has been specified (i.e. cmdPtr == NULL) ? If these returns are not avoided, then [fcopy] will not block until the copy completes, and will return an empty string instead of the number of bytes copied, right? Is there something subtle and tricky I'm missing that guarantees this problem will not arise?
- foundin changed to: "obsolete: 8.4a2"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "25. Channel System"
- title changed to: "another [fcopy] bug?"
- type changed to: "Bug"