|
|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Index: src/main/file.c
|
|
|
|
|
--- src/main/file.c.orig 2004-11-06 22:07:05 +0100
|
|
|
|
|
+++ src/main/file.c 2004-11-07 11:54:34 +0100
|
|
|
|
|
--- src/main/file.c.orig 2007-02-05 01:06:47 +0100
|
|
|
|
|
+++ src/main/file.c 2007-02-05 08:53:41 +0100
|
|
|
|
|
@@ -27,20 +27,20 @@
|
|
|
|
|
*/
|
|
|
|
|
void main_getsize(opts_t opts)
|
|
|
|
|
@ -84,9 +84,9 @@ Index: src/main/file.c
|
|
|
|
|
opts->program_name,
|
|
|
|
|
_("failed to stat output file"), strerror(errno));
|
|
|
|
|
Index: src/main/main.c
|
|
|
|
|
--- src/main/main.c.orig 2004-11-06 22:07:05 +0100
|
|
|
|
|
+++ src/main/main.c 2004-11-07 11:53:34 +0100
|
|
|
|
|
@@ -66,7 +66,7 @@
|
|
|
|
|
--- src/main/main.c.orig 2007-02-05 01:06:47 +0100
|
|
|
|
|
+++ src/main/main.c 2007-02-05 08:54:34 +0100
|
|
|
|
|
@@ -68,7 +68,7 @@
|
|
|
|
|
struct timeval start_time, next_update, next_reset, cur_time;
|
|
|
|
|
struct timeval init_time;
|
|
|
|
|
long double elapsed, tilreset;
|
|
|
|
|
@ -95,12 +95,12 @@ Index: src/main/main.c
|
|
|
|
|
int fd, n;
|
|
|
|
|
|
|
|
|
|
fd = -1;
|
|
|
|
|
@@ -103,7 +103,7 @@
|
|
|
|
|
@@ -105,7 +105,7 @@
|
|
|
|
|
fd = main_nextfd(opts, n, -1);
|
|
|
|
|
if (fd < 0)
|
|
|
|
|
return 1;
|
|
|
|
|
- if (fstat64(fd, &sb) == 0) {
|
|
|
|
|
+ if (fstat(fd, &sb) == 0) {
|
|
|
|
|
main_transfer_bufsize(sb.st_blksize * 32);
|
|
|
|
|
main_transfer_bufsize(sb.st_blksize * 32, 0);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|