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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0291 Actions


    Problem Report Number 0291
    Submitter's Classification Specification problem
    State Resolved
    Resolution Permanent Interpretation (PIN)
    Problem Resolution ID PIN.X.0007
    Raised 1992-11-18 08:00
    Updated 2003-03-13 08:00
    Published 1992-11-27 08:00
    Product Standard Internationalised System Calls and Libraries (XPG4)
    Certification Program The Open Brand certification program
    Test Suite VSX4 version 4.2.3
    Test Identification ANSI.hdr/misc/stdlib_X 55
    Specification System Interfaces and Headers Issue 4
    Location in Spec See Problem Text
    Problem Summary PIN4.007 There is an interpretation that permits the prototype for putenv to differ from the XPG4. The interpretation number is VWG/023/080792. the resolution follows: -- start -- X/OPEN RESOLUTION: The protot...
    Problem Text
    There is an interpretation that permits the prototype for putenv
    to differ from the XPG4. The interpretation number is VWG/023/080792.
    the resolution follows:

    -- start --
    X/OPEN RESOLUTION:

    The prototype for putenv should be changed in a future revision
    of the XPG from
    int putenv(const char *string);
    to
    int putenv(char *string);

    For XPG4 either definition is allowed.
    -- end --

    The system under test implements the latter definition.
    Test Output
    ************************************************************************
    /tset/ANSI.hdr/misc/stdlib_X/T.stdlib_X 55 Failed

    Test Description:
    The header file contains a declaration or prototype (if required) for
    putenv().
    This test is not executed in XPG3 test mode.

    Test Strategy: {information removed}

    Test Information:
    Compilation exited with non-zero value when expected to succeed
    Feature test macros: -D_XOPEN_SOURCE
    Compiler or run-time messages or results:
    "cc55es.c", line 33: warning: assignment type mismatch
    "cc55es.c", line 43: identifier redeclared: putenv
    Compilation exited with non-zero value when expected to succeed
    Feature test macros: -D_XOPEN_SOURCE -D_POSIX_SOURCE
    Compiler or run-time messages or results:
    "cc55es.c", line 33: warning: assignment type mismatch
    "cc55es.c", line 43: identifier redeclared: putenv
    Compilation exited with non-zero value when expected to succeed
    Feature test macros: -D_XOPEN_SOURCE -D_POSIX_C_SOURCE=1
    Compiler or run-time messages or results:
    "cc55es.c", line 33: warning: assignment type mismatch
    "cc55es.c", line 43: identifier redeclared: putenv
    Compilation exited with non-zero value when expected to succeed
    Feature test macros: -D_XOPEN_SOURCE -D_POSIX_C_SOURCE=2
    Compiler or run-time messages or results:
    "cc55es.c", line 33: warning: assignment type mismatch
    "cc55es.c", line 43: identifier redeclared: putenv
    Compilation exited with non-zero value when expected to succeed
    Feature test macros: -D_XOPEN_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=1
    Compiler or run-time messages or results:
    "cc55es.c", line 33: warning: assignment type mismatch
    "cc55es.c", line 43: identifier redeclared: putenv
    Compilation exited with non-zero value when expected to succeed
    Feature test macros: -D_XOPEN_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=2
    Compiler or run-time messages or results:
    "cc55es.c", line 33: warning: assignment type mismatch
    "cc55es.c", line 43: identifier redeclared: putenv
    ************************************************************************

    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 in line with the K/RT group's
    interpretation on this issue.

    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