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

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 1626 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 1626.


Report 1626 Actions


    Problem Report Number 1626
    Submitter's Classification Specification problem
    State Resolved
    Resolution Permanent Interpretation (PIN)
    Problem Resolution ID PIN.X.0183
    Raised 1998-01-06 08:00
    Updated 2003-03-13 08:00
    Published 1998-01-14 08:00
    Product Standard Internationalised System Calls and Libraries Extended (UNIX 95)
    Certification Program The Open Brand certification program
    Test Suite VSU version 5.0.2
    Test Identification CAPI.hdr/misc/stropts1 60, 66
    Specification System Interfaces and Libraries Issue 4 Version 2
    Location in Spec See Problem Text
    Problem Summary PIN4U.00049 These tests may fail due to variences between the UNIX95 and UNIX98 requirements.
    Problem Text
    Assertions 60 and 66 for stropt.h for XSH 4 version 2 conformance
    require that the flags member of struct strpeek, and the flags member
    of struct strfdinsert be of type long.

    The datasize neutrality changes introduced in XSH 5 have changed
    these types to t_uscalar_t. This change was introduced due
    to the type long in 64-bit binary environments causing
    a binary incompatibility problem.

    A permanent interpretation is requested permitting LP64
    architectures supporting both 32-bit and 64-bit applications
    to use t_uscalar_t types instead of long for these structure
    members.

    The rationale for this request is XNET resolution XNET49-1
    (used in PINT4.009) and the notes from the Base WG teleconference
    of August 12th 1997, where it states:


    "Regarding mail item OGTGbase Sequence # 2624

    The working group feels that they agree in concept with the resolution
    that XNET has made, but believe that the Base specifications are
    bit-neutral , and that existing interpretations exist for the issues
    with respect to the XSH4v2 specification.
    If other problems do exist they should be considered
    on a case-by-case process.

    With respect to items related to changes between the two
    relevant POSIX.1 versions, and other changes between XSH4v2 and XSH5,
    the group agrees in principle but recommends that these also be
    reviewed on a case-by-case process (as above)."
    Test Output
    TEST CASE: stropts.h

    TEST PURPOSE #58
    The structure strpeek shall be defined in stropts.h
    and contain the member ctlbuf which shall be of type
    struct strbuf.
    TEST: Size
    TEST: Members
    FIP: Compiler messages were produced
    Manual analysis is required
    "hstropts3.c", line 371: warning: assignment type mismatch:
    pointer to long "=" pointer to ulong
    58 FIP

    TEST PURPOSE #59
    The structure strpeek shall be defined in stropts.h
    and contain the member databuf which shall be of type
    struct strbuf.
    TEST: Size
    TEST: Members
    FIP: Compiler messages were produced
    Manual analysis is required
    "hstropts3.c", line 371: warning: assignment type mismatch:
    pointer to long "=" pointer to ulong
    59 FIP

    TEST PURPOSE #60
    The structure strpeek shall be defined in stropts.h
    and contain the member flags which shall be of type
    long.
    TEST: Size
    TEST: Signed
    ERROR: Expected flags member to be signed, is unsigned
    60 FAIL

    TEST PURPOSE #64
    The structure strfdinsert shall be defined in
    stropts.h and contain the member ctlbuf which shall be
    of type struct strbuf.
    TEST: Size
    TEST: Members
    FIP: Compiler messages were produced
    Manual analysis is required
    "hstropts5.c", line 368: warning: assignment type mismatch:
    pointer to long "=" pointer to ulong
    64 FIP

    TEST PURPOSE #65
    The structure strfdinsert shall be defined in
    stropts.h and contain the member databuf which shall
    be of type struct strbuf.
    TEST: Size
    TEST: Members
    FIP: Compiler messages were produced
    Manual analysis is required
    "hstropts5.c", line 368: warning: assignment type mismatch:
    pointer to long "=" pointer to ulong
    65 FIP

    TEST PURPOSE #66
    The structure strfdinsert shall be defined in
    stropts.h and contain the member flags which shall be
    of type long.
    TEST: Size
    TEST: Signed
    ERROR: Expected flags member to be signed, is unsigned
    66 FAIL

    TEST PURPOSE #67
    The structure strfdinsert shall be defined in
    stropts.h and contain the member fildes which shall be
    of type int.
    TEST: Size
    TEST: Signed
    FIP: Compiler messages were produced
    Manual analysis is required
    "hstropts5.c", line 368: warning: assignment type mismatch:
    pointer to long "=" pointer to ulong
    67 FIP

    TEST PURPOSE #68
    The structure strfdinsert shall be defined in
    stropts.h and contain the member offset which shall be
    of type int.
    TEST: Size
    TEST: Signed
    FIP: Compiler messages were produced
    Manual analysis is required
    "hstropts5.c", line 368: warning: assignment type mismatch:
    pointer to long "=" pointer to ulong
    68 FIP

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    A permanent interpretation is recommended.

    Note this PIN is applicable to versions 5.0.0 or later of the
    suite, and only when the suite is run in UNIX 95 mode. It does
    not apply in UNIX98 mode.

    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:

     

    Back   


Contact the Certification Authority