summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2005-01-10 11:21:50 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2005-01-10 11:21:50 (GMT)
commit6dd9ce45620382f3a06d1540ed2c08f4c88ad00a (patch)
treeb3bfc498a78da394772f659e980347de218f42e7 /unix
parentbf282c8f70ba13fdbbfca301d5a15165865397e9 (diff)
downloadtcl-6dd9ce45620382f3a06d1540ed2c08f4c88ad00a.zip
tcl-6dd9ce45620382f3a06d1540ed2c08f4c88ad00a.tar.gz
tcl-6dd9ce45620382f3a06d1540ed2c08f4c88ad00a.tar.bz2
Convert u_int to unsigned to make clashes with types in standard C headers less
of a problem. [Bug 1098829]
Diffstat (limited to 'unix')
-rw-r--r--unix/tclUnixFCmd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/tclUnixFCmd.c b/unix/tclUnixFCmd.c
index 9d709e6..a96291f 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.28.2.3 2004/11/11 01:15:29 das Exp $
+ * RCS: @(#) $Id: tclUnixFCmd.c,v 1.28.2.4 2005/01/10 11:21:51 dkf Exp $
*
* Portions of this code were derived from NetBSD source code which has
* the following copyright notice:
@@ -433,8 +433,8 @@ CopyFile(src, dst, statBufPtr)
{
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;
if ((srcFd = TclOSopen(src, O_RDONLY, 0)) < 0) { /* INTL: Native. */