diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2005-01-10 11:16:42 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2005-01-10 11:16:42 (GMT) |
commit | 2d59677cd079d9ecd994b875aceb5e960fb652c6 (patch) | |
tree | af38f2b264fb97d589cca876700f9efa967d24be | |
parent | 0fd0a940d0f30779874e35c4c7838a11f7aea0a3 (diff) | |
download | tcl-2d59677cd079d9ecd994b875aceb5e960fb652c6.zip tcl-2d59677cd079d9ecd994b875aceb5e960fb652c6.tar.gz tcl-2d59677cd079d9ecd994b875aceb5e960fb652c6.tar.bz2 |
Convert u_int to unsigned to make clashes with types in standard C headers less
of a problem. [Bug 1098829]
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | unix/tclUnixFCmd.c | 6 |
2 files changed, 9 insertions, 3 deletions
@@ -1,3 +1,9 @@ +2005-01-10 Donal K. Fellows <donal.k.fellows@man.ac.uk> + + * unix/tclUnixFCmd.c (TclUnixCopyFile): Convert u_int to unsigned + to make clashes with types in standard C headers less of a + problem. [Bug 1098829] + 2005-01-09 Joe English <jenglish@users.sourceforge.net> * unix/tclUnixThrd.c, unix/tclUnixPort.h: Remove readdir_r() diff --git a/unix/tclUnixFCmd.c b/unix/tclUnixFCmd.c index f0f852e..56eb9f7 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.40 2004/11/11 01:14:41 das Exp $ + * RCS: @(#) $Id: tclUnixFCmd.c,v 1.41 2005/01/10 11:16:44 dkf Exp $ * * Portions of this code were derived from NetBSD source code which has * the following copyright notice: @@ -477,8 +477,8 @@ TclUnixCopyFile(src, dst, statBufPtr, dontCopyAtts) { int srcFd; int dstFd; - u_int blockSize; /* Optimal I/O blocksize for filesystem */ - char *buffer; /* Data buffer for copy */ + unsigned blockSize; /* Optimal I/O blocksize for filesystem */ + char *buffer; /* Data buffer for copy */ size_t nread; #ifdef DJGPP |