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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0424 Actions


    Problem Report Number 0424
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0043
    Raised 1993-11-15 08:00
    Updated 2003-03-13 08:00
    Published 1993-11-19 08:00
    Product Standard Internationalised System Calls and Libraries (XPG4)
    Certification Program The Open Brand certification program
    Test Suite VSX4 version 4.2.4
    Test Identification XPG4.os/genuts/strfmon 19
    Problem Summary PG4R.043 XSH4 page 418 states: "If the total number of resulting bytes including the terminating null byte is not more than maxsize, the strfmon() function returns the number of bytes placed into the array poi...
    Problem Text
    XSH4 page 418 states: "If the total number of resulting bytes including
    the terminating null byte is not more than maxsize, the strfmon() function
    returns the number of bytes placed into the array pointed to by s, not
    including the terminating null byte. Otherwise, -1 is returned, the
    contents of the array are indeterminate, and errno is set to indicate the
    error." When this test calls strfmon(), the total number of resulting
    bytes is more than 3, so strfmon returns -1, sets errno to E2BIG, and the
    contents of buf are indeterminate. Since the contents of buf are
    indeterminate, VSX is not allowed to make assumptions about the contents
    of buf. For this reason, a permanent waiver is requested.
    Test Output
    /tset/XPG4.os/genuts/strfmon/T.strfmon 19 Failed

    Test Description:
    If strfmon() is supported:
    A call to strfmon() places at most maxsize characters (including
    the terminating null) into the array referenced by s.
    Otherwise:
    A call to strfmon() returns -1 and sets errno to ENOSYS.

    Test Strategy:
    SET locale for LC_MONETARY category
    CALL strfmon(buf,maxsize,format,value), where format is set to "%5n",
    and maxsize is set less than the size of the formatted string
    VERIFY that buf[] contains no more than maxsize characters

    Test Information:
    strfmon(buf, 3, "%5n", ...) did not return expected results
    Current language is VSX4L3
    Expected string length: [2]
    Actual string length: [0]

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    This requested interpretation is covered by TSD4.091.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Rejected (REJ)
    Review Conclusion
    This request is refused, please refer to TSD4.091.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority