|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1204 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 1204.
Report 1204 Actions
Problem Report Number 1204 Submitter's Classification Test Suite problem State Resolved Resolution Rejected (REJ) Problem Resolution ID REJ.X.0406 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published null 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 headers/sys/time.h 34 Problem Summary PG4U.00061 This IR claims that fd_set is a valid structure tag. Problem Text
The IR claims that fd_set is a valid structure tag.
The XSH4.2 specification states that fd_set is defined in <sys/time.h>.
The test suite claims fd_set to be an invalid structure name, and
generates a name space pollution error.
fd_set is also claimed to be invalid by test of <sys/resource.h>,
<sys/wait.h> and <stdlib.h>.
However, these headers legally make all symbols from <sys/time.h>
visible. Test cases are:
CAPIheaders/hresourc/hresourc15, CASE 34
CAPIheaders/hwait/hwait17, CASE 25
CAPIheaders/hstdlib/hstdlib20, CASE 45Test Output
10|1066 /tset/CAPIheaders/htime-sys/htime-sys17 20:36:50|TC Start,
scenario ref 74-427
15|1066 1.10 1|TCM Start
400|1066 34 1 20:36:51|IC Start
200|1066 1 20:36:51|TP Start
520|1066 1 17655 1 1|SPEC1170TESTSUITE CASE 34
520|1066 1 17655 1 2|The inclusion of sys/time.h with _XOPEN_SOURCE and
520|1066 1 17655 1 3|_XOPEN_SOURCE_EXTENDED=1 defined shall only define
or
520|1066 1 17655 1 4|declare identifiers with external linkage, macros,
and
520|1066 1 17655 1 5|identifiers with file scope specified in the
520|1066 1 17655 1 6|sys/time.h header file section; identifiers prefixed
520|1066 1 17655 1 7|with 'fds_', 'it_', 'tv_' or 'FD_'; macros prefixed
520|1066 1 17655 1 8|with 'fds_', 'it_', 'tv_', 'FD_', or 'ITIMER_';
macros
520|1066 1 17655 1 9|and identifiers suffixed with '_t'; and macros and
520|1066 1 17655 1 10|identifiers prefixed with underscore and either an
520|1066 1 17655 1 11|alphanumeric character or another underscore.
520|1066 1 17655 1 12|ERROR: Invalid struct/union/enum tag 'fd_set'
220|1066 1 1 20:36:51|FAIL
410|1066 34 1 20:36:51|IC End
80|1066 0 20:36:51|TC EndReview Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
We recommend this request be refused.
The specification states:
The <sys/time.h> header defines the fd_set type as a
structure that includes at least the following
member:
long fds_bits[] bit mask for open file descriptions
Pursuant to this the test suite allows:
typedef struct {
fds_bits[_fds_howmany(FD_SETSIZE, FD_NFDBITS)];
} fd_set;
It does not however allow fd_set to be used as a structure tag within
such a statement as this is not allowed by the spec. Thus the
following statement is correctly flagged as an error:
typedef struct fd_set {
fd_mask fds_bits[_fds_howmany(FD_SETSIZE, FD_NFDBITS)];
} fd_set;
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Rejected (REJ) Review Conclusion
This request is refused.
Problem Reporting System Options:
- View Report 1204
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority