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:
parent
f53bc81fe1
commit
157dbabffd
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user