Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 55148066ae46e508c26f630d8e75ed1d4444a1c5
Ticket: 230478ffffffffffffffffffffffffffffffffff
another [fcopy] bug?
User & Date: dgp on 2001-01-30 17:55:05
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. 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?
    
  4. foundin changed to: "obsolete: 8.4a2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "dgp"
  9. subsystem changed to: "25. Channel System"
  10. title changed to: "another [fcopy] bug?"
  11. type changed to: "Bug"