This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/21780] New: hppa: p{read,write}v2 does not set ENOSUP on invalid flag
- From: "adhemerval.zanella at linaro dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 17 Jul 2017 13:43:34 +0000
- Subject: [Bug libc/21780] New: hppa: p{read,write}v2 does not set ENOSUP on invalid flag
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=21780
Bug ID: 21780
Summary: hppa: p{read,write}v2 does not set ENOSUP on invalid
flag
Product: glibc
Version: 2.26
Status: NEW
Severity: normal
Priority: P2
Component: libc
Assignee: unassigned at sourceware dot org
Reporter: adhemerval.zanella at linaro dot org
CC: drepper.fsp at gmail dot com
Target Milestone: ---
Different than other arches hppa-linux-gnu define different values for ENOTSUP
and EOPNOTSUPP, where the later is a Linux specific one. This leads to
tst-preadwritev{64}v2 tests failures:
$ ./testrun.sh misc/tst-preadvwritev2
error: tst-preadvwritev2-common.c:35: preadv2 failure did not set errno to
ENOTSUP (223)
error: 1 test failures
The straightforward fix is to return ENOTSUP on all p{read,write}v{64}v2
implementations.
--
You are receiving this mail because:
You are on the CC list for the bug.