|
2004-10-27
| ||
| 00:22 | • Ticket [1017072fff] Copyfileproc documentation incomplete status still Close... artifact: 049ba38a84 user: dgp | |
|
2004-08-31
| ||
| 16:19 | • Closed ticket [1017072fff]. artifact: 52b98f0880 user: vincentdarley | |
|
2004-08-26
| ||
| 17:55 | • New ticket [1017072fff]. artifact: 3b6318fbeb user: andreas_kupries | |
Copyfileproc documentation incomplete
Closed / Fixed1017072fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 22 years ago
Descriptionplain2004-08-26 17:55:30
> >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.
vincentdarleyplain2004-08-31 16:19:04
Logged In: YES user_id=32170 Fixed docs, and one place in code (LOADFILEPROC).
dgpplain2004-10-27 00:22:06
Logged In: YES user_id=80530 possible backport candidate?
Log in (anonymous is fine) to add a comment.