# NOTE: this file tests how large files (>2GB) work with raw system IO. # open(), tell(), seek(), print(), read() are tested in t/op/lfs.t. # If you modify/add tests here, remember to update also t/op/lfs.t. BEGIN { chdir 't' if -d 't'; unshift @INC, '../lib'; require Config; import Config; # Don't bother if there are no quad offsets. if ($Config{lseeksize} < 8) { print "1..0\n# no 64-bit file offsets\n"; exit(0); } require Fcntl; import Fcntl; } sub bye { close(BIG); unlink "big"; exit(0); } sub explain { print <