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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 1172 Actions


    Problem Report Number 1172
    Submitter's Classification Specification problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0374
    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/stdlib.h 35
    Problem Summary PG4U.00093 This was refused because it is a duplicate. Use PIN4U.00005 instead.
    Problem Text
    The XPG4, Version 2 specification is inconsistent in its prototype
    specification for setstate(). The synopsis under the interface
    description states makes the following requirement:

    char *setstate(const char *state);

    whereas, the prototype requirement under the <stdlib.h> description is
    as follows:

    char *setstate(char *state);

    The test is testing against the description for <stdlib.h>, however, the
    correct form of the prototype is that as defined under the interface page.
    This has already been addressed in the XPG5 <stdlib.h> description which
    has been updated to match the interface page. The test needs to be
    corrected as well.
    Test Output
    TEST CASE: stdlib.h

    TEST PURPOSE #35
    The function char *setstate(char *state) shall be
    declared with the correct prototype in stdlib.h.
    TEST: Argument and return typing
    TEST: Prototype match
    FIP: Compiler messages were produced
    Manual analysis is required
    "hstdlib15.c", line 161: warning: assignment type mismatch:
    pointer to function(pointer to char) returning pointer to char "=" pointer to
    function(pointer to const char) returning pointer to char
    35 FIP

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    The submitter is correct but a recent ruling regarding this issue
    exists. To avoid the confusion duplicate rulings regarding the same
    issue might cause we recommend this request be refused and the submitter
    use PIN4U.00005 instead.

    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