|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1596 Details
Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges
This page provides all information on Problem Report 1596.
Report 1596 Actions
Problem Report Number 1596 Submitter's Classification Specification problem State Resolved Resolution Permanent Interpretation (PIN) Problem Resolution ID PIN.X.0153 Raised 1996-03-06 08:00 Updated 2003-03-13 08:00 Published 1996-03-18 08:00 Product Standard Internationalised System Calls and Libraries Extended (UNIX 95) Certification Program The Open Brand certification program Test Suite VSU version 4.1.0 Test Identification CAPI.os/ioprim/select 8 Specification System Interfaces and Libraries Issue 4 Version 2 Location in Spec See Problem Text Linked Problem Reports PIN4U.00010, (in, old, system) Problem Summary PIN4U.00019 The test may fail on implementations where select() returns EINVAL when nfds is set to FD_SETSIZE. Problem Text
The test may fail on implementations where select() returns EINVAL
when nfds is set to FD_SETSIZE.
The call to select() is failing because the nfds argument is
FD_SETSIZE. Per PIN4U.00010 it has been established that the maximum
value nfds can be is FD_SETSIZE, as the test suite is testing, instead
of FD_SETSIZE-1 as the ERRORS section states.Test Output
10|1597 /tset/CAPIbase/fselect/fselect8 09:33:40|TC Start, scenario ref 111-1815
15|1597 1.10 1|TCM Start
400|1597 8 1 09:33:41|IC Start
200|1597 1 09:33:41|TP Start
520|1597 1 34144268 1 1|SPEC1170TESTSUITE CASE 8
520|1597 1 34144268 1 2|A call to int select(int nfds, fd_set *readfds, fd_set
520|1597 1 34144268 1 3|*writefds, fd_set *exceptfds, const struct timeval
520|1597 1 34144268 1 4|*timeout) shall support a timeout interval of at least
520|1597 1 34144268 1 5|31 days.
520|1597 1 86179861 1 1|PREP: Create file
520|1597 1 86179861 1 2|TEST: select accepts 31 day timeout
520|1597 1 86179861 1 3|ERROR: 31 day timeout not accepted
220|1597 1 1 09:33:41|FAIL
410|1597 8 1 09:33:42|IC End
80|1597 0 09:33:42|TC EndReview Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
A permanent interpretation is recommended.
When calling select(FD_SETSIZE, ...) there are indeed FD_SETSIZE
file descriptors, namely, 0 through (FD_SETSIZE -1).
As in PIN4U.00010, the ERRORS section is incorrect when it requires
ndfs to be in error when set to FD_SETSIZE. It should only be in
error if ndfs is greater than FD_SETSIZE.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Permanent Interpretation (PIN) Review Conclusion
A Permanent Interpretation is granted.
Problem Reporting System Options:
- View Report 1596
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority