Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3b6318fbebf8f0e40af2d0e034b261da0eb1bda2
Ticket: 1017072fffffffffffffffffffffffffffffffff
Copyfileproc documentation incomplete
User & Date: andreas_kupries on 2004-08-26 17:55:30
Changes

  1. assignee changed to: "vincentdarley"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    > >Question: Is the Tcl Core VFS layer prepared to deal
    with an error coming
    > >from a copyfile function ? And able to fall back to
    the channel based
    > >copying if that is the case ?
    > 
    > This is the relevant piece of code (tclFCmd.c):
    > 
    >          result = Tcl_FSCopyFile(actualSource, target);
    >          if ((result != TCL_OK) && (errno == EXDEV)) {
    >              result = TclCrossFilesystemCopy(interp,
    source, target);
    >          }
    > 
    > So, an 'EXDEV' error says that we want Tcl to do it
    for us.
    
    
    At 18:45 26/08/2004, Andreas Kupries wrote:
    >Ah. Exactly what I was looking for. Noted. Is this
    documented ?
    
    Partly.  It's mentioned under Tcl_FSCopyFile, but not
    under the 
    COPYFILEPROC section of FileSystem.3.  It should be
    clarified/added to that 
    later section of that man page as well.
    
    
    Note: It might be necessary to document this for
    COPYDIRPROC and RENAMEPROC as well.
    
    
  4. foundin changed to: "obsolete: 8.4.7"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "andreas_kupries"
  9. subsystem changed to: "37. File System"
  10. title changed to: "Copyfileproc documentation incomplete"
  11. type changed to: "Bug"