diff options
| author | donal.k.fellows@manchester.ac.uk <dkf> | 2005-01-10 11:21:50 (GMT) |
|---|---|---|
| committer | donal.k.fellows@manchester.ac.uk <dkf> | 2005-01-10 11:21:50 (GMT) |
| commit | be01934807874cee8411da10d23554aee7710212 (patch) | |
| tree | b3bfc498a78da394772f659e980347de218f42e7 /unix/tclUnixFCmd.c | |
| parent | 97ca50c82d915bb96291421ee684791c7226f525 (diff) | |
| download | tcl-be01934807874cee8411da10d23554aee7710212.zip tcl-be01934807874cee8411da10d23554aee7710212.tar.gz tcl-be01934807874cee8411da10d23554aee7710212.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/tclUnixFCmd.c')
| -rw-r--r-- | unix/tclUnixFCmd.c | 6 |
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. */ |
