On 2026-11-18 09:20, Brian Inglis wrote:
yes "01234567890123456789012345" | head -n 410000000 > test1
cp test1 test2
echo "A" >> test1
echo "B" >> test2

diff -q test1 test2
echo "diff exit: $?"   # Outputs 0 (incorrect; expected 1)

I can't reproduce this problem on Fedora 45 x86-64, unfortunately. With either 
the stock diff 3.12, or with bleeding-edge source.

Is there some Cygwin equivalent of "strace -o /tmp/tr diff -q test1 test2" that 
you can try, to see what the syscalls are doing?



Reply via email to