A first pass at making D_FILE_OFFSET_BITS=64 work, from
Jari Ruusu <jari.ruusu@pp.inet.fi>
This commit is contained in:
@ -32,9 +32,9 @@
|
||||
/*
|
||||
* Copy chunksize bytes between two file descriptors
|
||||
*/
|
||||
int copy_file_chunk(int srcfd, int dstfd, size_t chunksize)
|
||||
int copy_file_chunk(int srcfd, int dstfd, off_t chunksize)
|
||||
{
|
||||
size_t size;
|
||||
off_t size;
|
||||
char buffer[BUFSIZ]; /* BUFSIZ is declared in stdio.h */
|
||||
|
||||
while (chunksize > 0) {
|
||||
|
Reference in New Issue
Block a user