[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: LSB.os/readv_L 22

On Fri, Feb 01, Thorsten Kukuk wrote:

> Hi,
> >From readv_L 22 test:
>         readv(5, iov, 0) did not behave as expected
>         RETURN VALUES: expected: -1, observed: 0
>         ERRNO VALUES: expected: 22 (EINVAL), observed: 0 (NO ERROR)
> As far as I understand POSIX, readv with count=0 may fail, but must
> not. So the test is wrong.
> I'm right or do we here misread POSIX?

The same for readv_L 23: iovcnt may fail if it is greater than IOV_MAX,
but must not. I think we should waive both tests if our interpretation
is correct.


Thorsten Kukuk       http://www.suse.de/~kukuk/        kukuk@suse.de
SuSE GmbH            Deutschherrenstr. 15-19       D-90429 Nuernberg
Key fingerprint = A368 676B 5E1B 3E46 CFCE  2D97 F8FD 4E23 56C6 FB4B

Reply to: