|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0361 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 0361.
Report 0361 Actions
Problem Report Number 0361 Submitter's Classification Minor System Fault State Resolved Resolution Minor System Fault (MSF) Problem Resolution ID MSF.X.0002 Raised 1992-09-19 08:00 Updated 2003-03-13 08:00 Published 1992-10-06 08:00 Expiry Date 1993-10-06 Product Standard Internationalised System Calls and Libraries (XPG4) Certification Program The Open Brand certification program Test Suite VSX4 version 4.2.3 Test Identification POSIX.os/procenv/sysconf_X 11 Problem Summary MSF4.002 There seems to be some confusion over the value of _POSIX2_VERSION and the return from sysconf(_SC_2_VERSION) for systems supporting the historical commands profile. The test suite expects sysconf(_SC... Problem Text
There seems to be some confusion over the value of _POSIX2_VERSION
and the return from sysconf(_SC_2_VERSION) for systems supporting the
historical commands profile.
The test suite expects sysconf(_SC_2_VERSION) to return the same value
as _POSIX2_VERSION. This does not seem to be the requirement in XPG4.
Our system is currently failing the test by having _POSIX2_VERSION
defined as 199209L and sysconf(_SC_2_VERSION) return -1.
XSH4 defines the value for _POSIX2_VERSION to be the constant defined in the
ISO POSIX.2 DIS -- which in the latest draft is currently 199209L .
The application usage on page 445 states that if the value of
sysconf(_SC_2_VERSION) is not equal to the value of _POSIX2_VERSION
it is used to indicate that utilities available via system() and popen()
might not behave as described in the XCU. This is to be expected for
systems supporting the historic compatibility commands specification.Test Output
******************************************************************
/tset/POSIX.os/procenv/sysconf_X 11 Failed
sysconf(_SC_2_VERSION) failed expected 999999 - got -1
******************************************************************Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
It is noted that the test results suggest that the value of _POSIX2_VERSION
is set to 999999, rather than 199209L as stated in the above analysis of
the problem.
The K/RT interpretation VWG/029/160992 states that _POSIX2_VERSION should
either be undefined, set to -1 or set to 199209L. In each of these cases
sysconf(_SC_2_VERSION) must not be more restrictive than the value indicated
by _POSIX2_VERSION.
Since _POSIX2_VERSION is not correctly set, it is not possible for this to
occur. The system should be amended to set _POSIX2_VERSION to -1 or a waiver
should be granted for a Minor System Fault on the basis that applications are
not currently expecting to use this feature.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Minor System Fault (MSF) Review Conclusion
A Temporary Waiver is granted.
Problem Reporting System Options:
- View Report 0361
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority