Problem Report 0003 Details

Help Show help | Quick Search | Click here to view your privileges

This page provides all information on Problem Report 0003.


Report 0003 Actions


    Problem Report Number 0003
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.PX.0002
    Raised 2004-03-16 03:50
    Updated 2004-03-16 17:51
    Published 2004-03-16 17:51
    Product Standard 1003.1-2003 System Interfaces
    Certification Program POSIX Certified by IEEE and The Open Group
    Test Suite VSX-PCTS2003 version 1.0
    Test Identification ANSI.hdr/misc/stdio_2/T.stdio_2 9
    Problem Summary Some of the stdio.h header tests reference unlink() without a prototype
    Problem Text Some of the stdio.h tests reference unlink() without a prototype,
    causing an undefined identifier compilation error.
    Test Output /tset/ANSI.hdr/misc/stdio_2/T.stdio_2 9 Failed

    Test Description:
    If the header file contains a macro definition for fileno(), it
    evaluates its arguments only once, fully protected by parentheses when
    necessary, and protects its return value with parentheses.
    Posix Ref: Component FILENO Assertion 8.2.1.1-03(C)

    Test Strategy:
    INVOKE macro with an increment and assignment in each argument.
    CAST macro to (void) - this verifies the return value is
    parenthesised.
    VERIFY that increments occurred once and assignments gave correct
    values.

    Test Information:
    Compilation exited with non-zero value when expected to succeed
    Feature test macros: -D_POSIX_C_SOURCE=200112
    Compiler or run-time messages or results:
    "cc09es.c", line 47: error #20: identifier "unlink" is undefined
    (void) unlink(file);
    ^
    Compilation exited with non-zero value when expected to succeed
    Feature test macros: -D_POSIX_C_SOURCE=200112 -D_POSIX_SOURCE
    Compiler or run-time messages or results:
    "cc09es.c", line 47: error #20: identifier "unlink" is undefined
    (void) unlink(file);
    ^

    Review Information

    Review Type TSMA Review
    Start Date 2004-03-16 03:50
    Last Updated 2004-03-16 17:38
    Completed 2004-03-16 17:38
    Status Complete
    Review Recommendation Test Suite Deficiency (TSD)
    Review Response This is accepted as a fault in the test suite.

    Review Type SA Review
    Start Date 2004-03-16 17:38
    Last Updated 2004-03-16 17:50
    Completed 2004-03-16 17:50
    Status Complete
    Review Resolution Test Suite Deficiency (TSD)
    Review Conclusion A test suite deficiency is granted.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority