diff options
| author | donal.k.fellows@manchester.ac.uk <dkf> | 2010-03-25 14:53:35 (GMT) | 
|---|---|---|
| committer | donal.k.fellows@manchester.ac.uk <dkf> | 2010-03-25 14:53:35 (GMT) | 
| commit | d05362e23fdf6ea2128a209643bb802544aab0a6 (patch) | |
| tree | 526c93d5b5cc5eac195143249f0ff6f70aee6ec0 /unix/tclUnixFCmd.c | |
| parent | 0f15c168f1db6c7351cbaa29149f92dcd7085f0a (diff) | |
| download | tcl-d05362e23fdf6ea2128a209643bb802544aab0a6.zip tcl-d05362e23fdf6ea2128a209643bb802544aab0a6.tar.gz tcl-d05362e23fdf6ea2128a209643bb802544aab0a6.tar.bz2  | |
	* unix/tclUnixFCmd.c (TclUnixCopyFile): [Bug 2976504]: Corrected
	number of arguments to fstatfs() call.
Diffstat (limited to 'unix/tclUnixFCmd.c')
| -rw-r--r-- | unix/tclUnixFCmd.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclUnixFCmd.c b/unix/tclUnixFCmd.c index 851c979..daa40da 100644 --- a/unix/tclUnixFCmd.c +++ b/unix/tclUnixFCmd.c @@ -10,7 +10,7 @@   * See the file "license.terms" for information on usage and redistribution of   * this file, and for a DISCLAIMER OF ALL WARRANTIES.   * - * RCS: @(#) $Id: tclUnixFCmd.c,v 1.75 2010/03/05 14:34:04 dkf Exp $ + * RCS: @(#) $Id: tclUnixFCmd.c,v 1.76 2010/03/25 14:53:35 dkf Exp $   *   * Portions of this code were derived from NetBSD source code which has the   * following copyright notice: @@ -554,7 +554,7 @@ TclUnixCopyFile(      {  	struct statfs fs; -	if (fstatfs(srcFd, &fs, sizeof(fs), 0) == 0) { +	if (fstatfs(srcFd, &fs) == 0) {  	    blockSize = fs.f_bsize;  	} else {  	    blockSize = DEFAULT_COPY_BLOCK_SIZE;  | 
