Fix debug assert to match its intention.
Do not check my_errno before it is set, check errno instead. Also, do not check errno, if prior pread() did not fail.
Showing
Please register or sign in to comment
Do not check my_errno before it is set, check errno instead. Also, do not check errno, if prior pread() did not fail.