On a second thought, the patched code isn't very nice on 64bit systems (even though the sizes work out correctly). Also, the same codepath is tested (on 32bit) via the _64 build, so it would perhaps make more sense to disable the non-FILE_OFFSET_BITS=64 test on 32bit. I'll send a new patch. Thanks.