HomeAbout Us A-Z IndexSearch * Contact Us Register LoginPress Shop

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 0520 Details

Help Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges

This page provides all information on Problem Report 0520.


Report 0520 Actions


    Problem Report Number 0520
    Submitter's Classification Specification problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0139
    Raised 1997-05-19 08:00
    Updated 2003-03-13 08:00
    Published null
    Product Standard Internationalised System Calls and Libraries (XPG4)
    Certification Program The Open Brand certification program
    Test Suite VSX4 version 4.3.6
    Test Identification POSIX.hdr/misc/unistd_X 26
    Problem Summary PG4R.140 On our implementation we define the identifiers _POSIX2_CHAR_TERM, _POSIX2_LOCALEDEF, and _POSIX2_UPE during runtime via sysconf() in order to allow flexibility in case we decide to change the value a...
    Problem Text
    On our implementation we define the identifiers _POSIX2_CHAR_TERM,
    _POSIX2_LOCALEDEF, and _POSIX2_UPE during runtime via sysconf() in
    order to allow flexibility in case we decide to change the value
    at some time in the future.

    In the X/Open CAE Specification, System Interfaces and Headers Issue 4,
    Version 2, under <unistd.h> -- _XOPEN_XCU_VERSION it says "if this
    constant is not defined use the sysconf() function to determine which
    features are supported." And under Constants for Options and Feature
    Groups it says "If these are undefined, the sysconf() function can be
    used to determine whether the feature is provided for a particular
    invocation of the application."

    We believe the standard is unclear about whether these symbolic
    constants must be defined in the header or may be defined at run
    time. We do support _XOPEN_XCU_VERSION=4.
    Test Output
    ***********************************************************************
    /tset/POSIX.hdr/misc/unistd_X/T.unistd_X 26 Failed
    Test Description:
    If _XOPEN_XCU_VERSION is greater than or equal to 4:
    The header file contains definitions for the symbolic constants
    _POSIX2_C_BIND, _POSIX2_C_VERSION, _POSIX2_CHAR_TERM,
    _POSIX2_LOCALEDEF and _POSIX2_UPE which each have a value not
    equal to -1.
    Not tested in XPG3 mode.
    Test Strategy:
    COMPILE program including <unistd.h>.
    VERIFY symbolic constant exists using #ifndef.
    VERIFY value of constant is as expected.
    VERIFY there were no compiler errors.
    Test Information:
    Feature test macros: -D_XOPEN_SOURCE
    Compiler or run-time messages or results:
    Undefined identifier: _POSIX2_CHAR_TERM
    Undefined identifier: _POSIX2_LOCALEDEF
    Undefined identifier: _POSIX2_UPE
    Feature test macros: -D_XOPEN_SOURCE -D_POSIX_SOURCE
    Compiler or run-time messages or results:
    Undefined identifier: _POSIX2_CHAR_TERM
    Undefined identifier: _POSIX2_LOCALEDEF
    Undefined identifier: _POSIX2_UPE
    Feature test macros: -D_XOPEN_SOURCE -D_POSIX_C_SOURCE=1
    Compiler or run-time messages or results:
    Undefined identifier: _POSIX2_CHAR_TERM
    Undefined identifier: _POSIX2_LOCALEDEF
    Undefined identifier: _POSIX2_UPE
    Feature test macros: -D_XOPEN_SOURCE -D_POSIX_C_SOURCE=2
    Compiler or run-time messages or results:
    Undefined identifier: _POSIX2_CHAR_TERM
    Undefined identifier: _POSIX2_LOCALEDEF
    Undefined identifier: _POSIX2_UPE
    Feature test macros: -D_XOPEN_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=1
    Compiler or run-time messages or results:
    Undefined identifier: _POSIX2_CHAR_TERM
    Undefined identifier: _POSIX2_LOCALEDEF
    Undefined identifier: _POSIX2_UPE
    Feature test macros: -D_XOPEN_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=2
    Compiler or run-time messages or results:
    Undefined identifier: _POSIX2_CHAR_TERM
    Undefined identifier: _POSIX2_LOCALEDEF
    Undefined identifier: _POSIX2_UPE
    ************************************************************************

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    PGR4.103 is clear that if _XOPEN_XCU_VERSION is
    set to 4 or greater then the features associated with the listed
    feature groups is enabled (i.e. that functionality is mandatory when
    _XOPEN_XCU_VERSION is set to 4 or later).

    Since an X/Open conforming implementation has always to provide
    the feature. The constants in question have to have a value other
    than -1.

    It is recommended that the waiver be refused.

    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:

     

    Back   


Contact the Certification Authority