This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/21780] New: hppa: p{read,write}v2 does not set ENOSUP on invalid flag


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]