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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 1997 Actions


    Problem Report Number 1997
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0583
    Raised 1996-03-27 08:00
    Updated 2003-03-13 08:00
    Published null
    Product Standard Transport Service XTI
    Certification Program The Open Brand certification program
    Test Suite VST version 4.2.3
    Test Identification .../vst/SRC/common/tsetlib/provsetup.c
    Problem Summary PGT4R.012 provsetup.c includes the following declaration setstate(fd, curr_prov, state, oflag, qlen, bindret, slvbret, callret) System Interfaces and Headers, Issue 4, Version 2, contains the following prototyp...
    Problem Text
    provsetup.c includes the following declaration

    setstate(fd, curr_prov, state, oflag, qlen, bindret, slvbret, callret)

    System Interfaces and Headers, Issue 4, Version 2, contains the
    following prototype for setstate:

    char *setstate(const char *state)

    which compares to the declaration of setstate in /usr/include/stdlib.h.
    The declaration of setstate in provsetup.c is not compliant.

    We need to be able to code a work-around in order to complete the
    installation of the test suite. The intent of the setstate command
    in provsetup.c is not clear. How should the setstate command be
    changed in provsetup.c to make it compliant and to have it execute
    the necessary function?
    Test Output
    Issuing make, as described in the Action Points - Master, section 7.1,
    INSTALLATION OF THE MASTER, of the X/OPEN XTI Test Suite User and
    Installation Guide, VST Release 4.1.3, March 1995, results in

    /bin/c89 -I/tmp/usr/DTET2/vst/SRC/../../inc/dtet2 -I../../INC -D_XOPEN_SOURCE_EXTENDED -c provsetup.c
    ERROR CBC3343 ./provsetup.c:519 Redeclaration of setstate differs from previous declaration on line 527 of
    "/usr/include/stdlib.h".
    FSUM3065 The COMPILE step ended with return code 12.
    FSUM3017 Could not compile provsetup.c. Correct the errors and try again
    FSUM8226 make: Error code 3

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    The definition of setstate() in stdlib.h should only be visible when the
    feature test macro _XOPEN_SOURCE_EXTENDED is set to 1. The VST test suite
    does not use this feature test macro and it may either have been introduced
    through changes made to the userintf.c file or there may be a fault in the
    implementations <stdlib.h> file. It should be possible to remedy either
    of these problems. The next version of the test suite has renamed the routine
    to stateset() to avoid the name clash, since the purpose of the test suite
    does not include the testing of the <stdlib.h> header file.

    It is recommended that the request is refused since resolving the problem
    should be a straightforward matter not requiring changes to the test suite
    sources.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Rejected (REJ)
    Review Conclusion

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority