diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-04-05 23:07:25 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-04-05 23:07:25 +0000 |
commit | 4767502117153ce4dd87b13f6e814faf940f51ca (patch) | |
tree | c1986321291c7ac619748f051f3d716bc89f46da /libbb | |
parent | a9ca2d252c254da9b901a9a3afeb3fff1d497d2f (diff) | |
download | busybox-w32-4767502117153ce4dd87b13f6e814faf940f51ca.tar.gz busybox-w32-4767502117153ce4dd87b13f6e814faf940f51ca.tar.bz2 busybox-w32-4767502117153ce4dd87b13f6e814faf940f51ca.zip |
A first pass at making D_FILE_OFFSET_BITS=64 work, from
Jari Ruusu <jari.ruusu@pp.inet.fi>
git-svn-id: svn://busybox.net/trunk/busybox@2266 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/copy_file_chunk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/copy_file_chunk.c b/libbb/copy_file_chunk.c index 3c657dd06..bf0b06e1a 100644 --- a/libbb/copy_file_chunk.c +++ b/libbb/copy_file_chunk.c | |||
@@ -32,9 +32,9 @@ | |||
32 | /* | 32 | /* |
33 | * Copy chunksize bytes between two file descriptors | 33 | * Copy chunksize bytes between two file descriptors |
34 | */ | 34 | */ |
35 | int copy_file_chunk(int srcfd, int dstfd, size_t chunksize) | 35 | int copy_file_chunk(int srcfd, int dstfd, off_t chunksize) |
36 | { | 36 | { |
37 | size_t size; | 37 | off_t size; |
38 | char buffer[BUFSIZ]; /* BUFSIZ is declared in stdio.h */ | 38 | char buffer[BUFSIZ]; /* BUFSIZ is declared in stdio.h */ |
39 | 39 | ||
40 | while (chunksize > 0) { | 40 | while (chunksize > 0) { |