o Hold copied bytes counter in off_t. This prevents statistics

displayed by SIGINFO handler from overflow.

PR:		bin/104039
Submitted by:	Geoffrey Giesemann
MFC after:	2 weeks
This commit is contained in:
maxim 2006-10-06 08:30:33 +00:00
parent f53bc81fe1
commit 157dbabffd

View File

@ -64,7 +64,7 @@ copy_file(const FTSENT *entp, int dne)
int ch, checkch, from_fd = 0, rcount, rval, to_fd = 0;
ssize_t wcount;
size_t wresid;
size_t wtotal;
off_t wtotal;
char *bufp;
#ifdef VM_AND_BUFFER_CACHE_SYNCHRONIZED
char *p;