You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Input loop terminates if sysread on file1 fails
* If sysread failed on file2, $read_in2 would be undef, then $checklength would be undef
* It is not correct to compare the two input buffers in this case; $buffer2 possibly wouldn't have been modified since the previous loop iteration
* Skip the buffer comparison if $checklength is zero (treat sysread failure in the same way because there are no bytes to compare)
0 commit comments