Dear Maintainer, $ truncate -s 5G 5G $ cat 5G | /bin/tac | wc -c /bin/tac: /tmp/tacOOOwnf: read error: Illegal seek 0 наб
Couldn't repo with 64 bit tac 9.1 or 32 bit tac latest I just get the expected: $ cat 5G | git/coreutils/src/tac | wc -c git/coreutils/src/tac: /tmp/cutmpZRrn27: write error: No space left on device cheers, Pádraig
Tested on amd64. Well, what if you let /tmp grow enough to allocate the 5G (or put it on a compressed filesystem that'll discard the zeroes)? I ran this on a big system so my /tmp has 47G avail, but I can reproduce your lack of reproduction by making it too small: # mount -t tmpfs -o size=1g tmpfs dir $ cat 5G | TMPDIR=dir /bin/tac | wc -c /bin/tac: dir/tacbIeNII: write error: No space left on device 0 Best, наб
Indeed. I'm addressing this upstream with the attached. cheers, Pádraig