Bruno Haible wrote:
>> test-pread.c:71: assertion failed
>> FAIL: test-pread.sh
>
> Here the errno value for a negative offset is EFBIG, not EINVAL.
>
> Jim, OK to relax the test, like this?

Hi Bruno,
Yes, that looks fine.  Thank you.

> -    ASSERT (errno == EINVAL);
> +    ASSERT (errno == EINVAL
> +            || errno == EFBIG /* seen on OpenBSD 4.9 */
> +           );

Reply via email to