Problem Report Number |
1066 |
Submitter's Classification |
Test Suite problem |
State |
Resolved |
Resolution |
Rejected (REJ) |
Problem Resolution ID |
REJ.X.0303 |
Raised |
1970-01-01 08:00 |
Updated |
2003-03-13 08:00 |
Published |
null |
Product Standard |
Internationalised System Calls and Libraries Extended V2 (UNIX 98) |
Certification Program |
The Open Brand certification program |
Test Suite |
VSRT version 5.0.1 |
Test Identification |
rt.hdr/misc/aio 32 |
Problem Summary |
PG4R.00001 This is an incomplete request claiming a TSD related to the test. |
Problem Text |
This test incorrectly includes <stdlib.h> which is allowed to make visible all the symbols defined in <sys/wait.h>. The <sys/wait.h> header in turn may make visible all the symbols in <sys/resource.h>, which in turn is permitted to make visible symbols in <sys/time.h>. The FD_* and ITIMER_* symbols are defined in <sys/time.h>. When the tests are built and the hdrdefs tool is run on aio.h, there are no imposed namespace restriction and hence these symbols are also visible in aio.h when _XOPEN_SOURCE or POSIX_C_SOURCE are NOT defined. This results in explicit tests for these symbols which then become visible on inclusion of <stdlib.h>. A program that includes only <aio.h> and that is compiled with _XOPEN_SOURCE=500 will not make visible these symbols. We have also verified that removal of the inclusion for <stdlib.h> in this test case results in the test passing.
|
Test Output |
/tset/rt.hdr/misc/aio/T.aio 32 Failed Test Description: When _XOPEN_SOURCE is defined with the value 500 and no other feature test macros except _POSIX_SOURCE and _POSIX_C_SOURCE<=199506L are defined, no other symbols than those defined or reserved in System Interfaces and Headers, Issue 5 for it shall be made visible by including <aio.h>. Test Information: Feature test macros: -D_XOPEN_SOURCE=500 Compiler or run-time messages or results: Illegal #defined symbol: ITIMER_REAL Illegal #defined symbol: ITIMER_VIRTUAL Illegal #defined symbol: ITIMER_PROF Illegal #defined symbol: ITIMER_REALPROF Illegal #defined symbol: FD_SETSIZE Illegal #defined symbol: FD_SETSIZE Illegal #defined symbol: FD_NFDBITS Illegal #defined symbol: FD_SET Illegal #defined symbol: FD_CLR Illegal #defined symbol: FD_ISSET Illegal #defined symbol: FD_ZERO Illegal #defined symbol: FD_ZERO Illegal #defined symbol: ITIMER_REAL Illegal #defined symbol: ITIMER_VIRTUAL Illegal #defined symbol: ITIMER_PROF Illegal #defined symbol: ITIMER_REALPROF Illegal #defined symbol: FD_SETSIZE Illegal #defined symbol: FD_SETSIZE Illegal #defined symbol: FD_NFDBITS Illegal #defined symbol: FD_SET Illegal #defined symbol: FD_CLR Illegal #defined symbol: FD_ISSET Illegal #defined symbol: FD_ZERO Illegal #defined symbol: FD_ZERO Illegal #defined symbol: ITIMER_REAL Illegal #defined symbol: ITIMER_VIRTUAL Illegal #defined symbol: ITIMER_PROF Illegal #defined symbol: ITIMER_REALPROF Illegal #defined symbol: FD_SETSIZE Illegal #defined symbol: FD_SETSIZE Illegal #defined symbol: FD_NFDBITS Illegal #defined symbol: FD_SET Illegal #defined symbol: FD_CLR Illegal #defined symbol: FD_ISSET Illegal #defined symbol: FD_ZERO Illegal #defined symbol: FD_ZERO Illegal #defined symbol: ITIMER_REAL Illegal #defined symbol: ITIMER_VIRTUAL Illegal #defined symbol: ITIMER_PROF Illegal #defined symbol: ITIMER_REALPROF Illegal #defined symbol: FD_SETSIZE Illegal #defined symbol: FD_SETSIZE Illegal #defined symbol: FD_NFDBITS Illegal #defined symbol: FD_SET Illegal #defined symbol: FD_CLR Illegal #defined symbol: FD_ISSET Illegal #defined symbol: FD_ZERO Illegal #defined symbol: FD_ZERO
|