diff options
author | vincentdarley <vincentdarley@noemail.net> | 2001-09-08 14:05:07 (GMT) |
---|---|---|
committer | vincentdarley <vincentdarley@noemail.net> | 2001-09-08 14:05:07 (GMT) |
commit | 2f3db320aec87f5f019d50d943413f0cf126e8ce (patch) | |
tree | 48272ea4c2e18b5c060109e1536548ed7591a932 /doc/FileSystem.3 | |
parent | 268073baff1cbdbc28369bc3af43549448f4cf2c (diff) | |
download | tcl-2f3db320aec87f5f019d50d943413f0cf126e8ce.zip tcl-2f3db320aec87f5f019d50d943413f0cf126e8ce.tar.gz tcl-2f3db320aec87f5f019d50d943413f0cf126e8ce.tar.bz2 |
channel-copy-fix
FossilOrigin-Name: 1f2c7bb4fd71a425f59e88d8985bd833e9d736ae
Diffstat (limited to 'doc/FileSystem.3')
-rw-r--r-- | doc/FileSystem.3 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/FileSystem.3 b/doc/FileSystem.3 index 97bfe2c..97f1a78 100644 --- a/doc/FileSystem.3 +++ b/doc/FileSystem.3 @@ -4,7 +4,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: FileSystem.3,v 1.5 2001/09/04 18:06:34 vincentdarley Exp $ +'\" RCS: @(#) $Id: FileSystem.3,v 1.6 2001/09/08 14:05:09 vincentdarley Exp $ '\" .so man.macros .TH Tcl_FSCopyFile 3 8.4 Tcl "Tcl Library Procedures" @@ -252,8 +252,8 @@ passing it in, or decrementing it. path name given by destPathPtr. If the two paths given lie in the same filesystem (according to \fBTcl_FSGetFileSystemForPath\fR) then that filesystem's 'copy file' function is called (if it is non-NULL). -Otherwise a cross-filesystem copy is attempted using a combination -of open-r/open-w/fcopy (at the C level). +Otherwise the function returns -1 and sets Tcl's errno to the 'EXDEV' +posix error code (which signifies a 'cross-domain link'). .PP \fBTcl_FSCopyDirectory\fR attempts to copy the directory given by srcPathPtr to the path name given by destPathPtr. If the two paths given lie in the same @@ -629,7 +629,7 @@ functions (it will use \fITcl_FSCopyFileProc\fR followed by implemented there is a further fallback). However, if a \fITcl_FSRenameFile\fR command is issued at the C level, no such fallbacks occur. This is true except for the last five entries in the -filesystem table (lstat, load, unload, getcwd and chdir) and copyfile +filesystem table (lstat, load, unload, getcwd and chdir) for which fallbacks do in fact occur at the C level. .PP Any functions which take path names in Tcl_Obj form take |