Overview
| Artifact ID: | 3b6318fbebf8f0e40af2d0e034b261da0eb1bda2 |
|---|---|
| Ticket: | 1017072fffffffffffffffffffffffffffffffff
Copyfileproc documentation incomplete |
| User & Date: | andreas_kupries on 2004-08-26 17:55:30 |
Changes
- assignee changed to: "vincentdarley"
- cmimetype changed to: "text/plain"
- 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. - foundin changed to: "obsolete: 8.4.7"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "andreas_kupries"
- subsystem changed to: "37. File System"
- title changed to: "Copyfileproc documentation incomplete"
- type changed to: "Bug"