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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 2447 Actions


    Problem Report Number 2447
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.1272
    Raised 2005-02-07 23:03
    Updated 2005-02-08 19:29
    Published 2005-02-08 19:29
    Product Standard Internationalised System Calls and Libraries Extended V3 (UNIX 03)
    Certification Program The Open Brand certification program
    Test Suite VSTH version 5.4.2
    Test Identification PTHR.os/general/General 7
    Specification Base Definitions Issue 6
    Problem Summary Incorrect error check for fputws() calls in setup for fgetws() test
    Problem Text In SRC/common/vsthlib/vsth_rtf.c the following code treats a zero
    return from fputws() as an error:

    int
    fgetws_tf()
    {
    <snip>
    rval = fputws(&buf1[0], fp);
    if ( rval == 0 )
    {
    ++errs;
    }

    rval = fputws(&buf2[0], fp);
    if ( rval == 0 )
    {
    ++errs;
    }
    <snip>
    }

    This causes the failure shown below on systems where fputws() returns
    zero for success. The code should check for -1 (or EOF), not 0.
    Test Output /tset/PTHR.os/general/General/T.General 7 Failed

    Test Description:
    For PSE52 test mode:
    Untested
    Reason for Omission: Strategy not applicable for profile 52.
    For other test modes:
    All functions with names beginning [f] defined by
    POSIX.1 and
    the C Standard, except those which the standard states
    need not
    be thread safe, are thread safe.
    Posix Ref: Component GENERAL Assertion 9945-1:1996 2.3.9-4(A)

    Test Information:
    fgetws() unresolved

    Review Information

    Review Type TSMA Review
    Start Date 2005-02-07 23:03
    Last Updated 2005-02-07 23:05
    Completed 2005-02-07 23:05
    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 2005-02-07 23:05
    Last Updated 2005-02-08 01:45
    Completed 2005-02-08 01:45
    Status Complete
    Review Resolution Test Suite Deficiency (TSD)
    Review Conclusion
    This PR represents an agreed Test Suite Deficiency

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority