chiark / gitweb /
progs/rspit.c: Cope with large files.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 8 Aug 2017 22:13:51 +0000 (23:13 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 8 Aug 2017 22:20:01 +0000 (23:20 +0100)
Missed this in my earlier `_FILE_OFFSET_BITS' pass.  The calculations
for the progress display and so on are all done in terms of bignums
already, so there's no worries with the arithmetic.

progs/rspit.c

index 9781333efc41b7ad70d1a369e896640dba7f3d1b..66a0538970629c1ccb3bdfe83a49834bf63a1bdb 100644 (file)
@@ -27,6 +27,8 @@
 
 /*----- Header files ------------------------------------------------------*/
 
+#define _FILE_OFFSET_BITS 64
+
 #include "config.h"
 
 #include <assert.h>