Forráskód Böngészése

chunker - fix 4GB files on 32-bit systems

From code inspection - effect not actually tested.
Alan Jenkins 10 éve
szülő
commit
ce3e67cb96
1 módosított fájl, 2 hozzáadás és 1 törlés
  1. 2 1
      borg/_chunker.c

+ 2 - 1
borg/_chunker.c

@@ -83,7 +83,8 @@ typedef struct {
     PyObject *fd;
     int fh;
     int done, eof;
-    size_t remaining, bytes_read, bytes_yielded, position, last;
+    size_t remaining, position, last;
+    off_t bytes_read, bytes_yielded;
 } Chunker;
 
 static Chunker *