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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0127 Actions


    Problem Report Number 0127
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0127
    Raised 1993-12-10 08:00
    Updated 2003-03-13 08:00
    Published 1993-12-14 08:00
    Product Standard Internationalised System Calls and Libraries (XPG4)
    Certification Program The Open Brand certification program
    Test Suite VSX4 version 4.3.2
    Test Identification XPG4.hdr/misc/wchar 43
    Problem Summary TSD4.127 Here are my reasons for asking for an interpretation for the wchar-43 failure: <wchar.h> is supposed to include <stdlib.h>, this is required because of MB_CUR_MAX and other multibyte routines declared...
    Problem Text
    Here are my reasons for asking for an interpretation for the wchar-43
    failure:

    <wchar.h> is supposed to include <stdlib.h>, this is required
    because of MB_CUR_MAX and other multibyte routines declared in <stdlib.h>.
    <stdlib.h> is supposed to contain the <sys/wait.h> macros to decipher
    the return from the system() routine. This is stated in the XPG4 XSH
    spec on the manual page for system(), furthermore in the description
    of <stdlib.h>, it says that the inclusion of <stdlib.h> may make visible
    symbols found in <sys/wait.h>. I therefore feel that wchar test 43
    contradicts the XPG4 standard, because it does not permit <sys/wait.h>
    symbols to be visible when <wchar.h> is included.
    Test Output
    /tset/XPG4.hdr/misc/wchar/T.wchar 43 Failed

    Test Description:
    When _XOPEN_SOURCE is defined and no other feature test macros except
    _POSIX_SOURCE, _POSIX_C_SOURCE=1 or _POSIX_C_SOURCE=2 are defined, no
    other symbols than those defined or reserved by the XPG are made
    visible.

    Test Strategy:
    FOR each unreserved struct/union member made visible by the header
    DEFINE a macro which will cause an error if not protected from
    expansion
    UNDEFINE those macros which correspond to allowed member names
    INCLUDE a copy of the header file modified to identify #defines
    FOR each unreserved symbol made visible by the header
    VERIFY that the symbol name is in a list of allowed names

    Test Information:
    Feature test macros: -D_XOPEN_SOURCE
    Compiler or run-time messages or results:
    Illegal #defined symbol: WNOHANG
    Illegal #defined symbol: WUNTRACED
    Illegal #defined symbol: WIFEXITED
    Illegal #defined symbol: WEXITSTATUS
    Illegal #defined symbol: WIFSIGNALED
    Illegal #defined symbol: WTERMSIG
    Illegal #defined symbol: WIFSTOPPED
    Illegal #defined symbol: WSTOPSIG
    Illegal declared or 'typedef'ed symbol: wait
    Illegal declared or 'typedef'ed symbol: waitpid
    Feature test macros: -D_XOPEN_SOURCE -D_POSIX_SOURCE
    Compiler or run-time messages or results:
    Illegal #defined symbol: WNOHANG
    Illegal #defined symbol: WUNTRACED
    Illegal #defined symbol: WIFEXITED
    Illegal #defined symbol: WEXITSTATUS
    Illegal #defined symbol: WIFSIGNALED
    Illegal #defined symbol: WTERMSIG
    Illegal #defined symbol: WIFSTOPPED
    Illegal #defined symbol: WSTOPSIG
    Illegal declared or 'typedef'ed symbol: wait
    Illegal declared or 'typedef'ed symbol: waitpid
    Feature test macros: -D_XOPEN_SOURCE -D_POSIX_C_SOURCE=1
    Compiler or run-time messages or results:
    Illegal #defined symbol: WNOHANG
    Illegal #defined symbol: WUNTRACED
    Illegal #defined symbol: WIFEXITED
    Illegal #defined symbol: WEXITSTATUS
    Illegal #defined symbol: WIFSIGNALED
    Illegal #defined symbol: WTERMSIG
    Illegal #defined symbol: WIFSTOPPED
    Illegal #defined symbol: WSTOPSIG
    Illegal declared or 'typedef'ed symbol: wait
    Illegal declared or 'typedef'ed symbol: waitpid
    Feature test macros: -D_XOPEN_SOURCE -D_POSIX_C_SOURCE=2
    Compiler or run-time messages or results:
    Illegal #defined symbol: WNOHANG
    Illegal #defined symbol: WUNTRACED
    TEST INFORMATION TRUNCATED BY -t OPTION

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    This is an accepted test suite deficiency.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Test Suite Deficiency (TSD)
    Review Conclusion
    This is an agreed test suite deficiency.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority