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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0491 Actions


    Problem Report Number 0491
    Submitter's Classification Specification problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0110
    Raised 1995-08-31 08:00
    Updated 2003-03-13 08:00
    Published null
    Product Standard Internationalised System Calls and Libraries (XPG4)
    Certification Program The Open Brand certification program
    Test Suite VSX4 version 4.3.5
    Test Identification XOPEN.os/genuts/ftw 9
    Linked Problem Reports PIN4.026, (in, old, system)
    Problem Summary PG4R.111 Our Implementation on PATH_MAX is aligned with the POSIX.1-1990 standard rather than POSIX 1003.1a. In running the VSX 4.3.5B test suite we see failures, related to this alignment, in almost all of th...
    Problem Text
    Our Implementation on PATH_MAX is aligned with the POSIX.1-1990
    standard rather than POSIX 1003.1a. In running the VSX 4.3.5B
    test suite we see failures, related to this alignment, in almost
    all of the testcases documented in PIN4.026. However, we also have
    a new failure, the output for which appears above.

    We are requesting a permanent interpretation for this additional
    failure.
    Test Output
    /tset/XOPEN.os/genuts/ftw/T.ftw 9.Failed

    Test Description:
    If _POSIX_PATH_MAX <= {PATH_MAX} <= PCTS_PATH_MAX, then ftw() returns
    -1 and sets errno to ENAMETOOLONG if the length of path exceeds
    PATH_MAX;
    otherwise
    a call to ftw() when the length of the path argument equals
    PCTS_PATH_MAX does not give an ENAMETOOLONG error.

    Test Strategy:
    CREATE directory using crdir()
    IF pathconf() returns a value of PATH_MAX <= PCTS_PATH_MAX, and not -1
    TRAVERSE file tree via a pathname of length PATH_MAX using ftw()
    VERIFY that ftw() succeeded
    TRAVERSE file tree via a pathname of length PATH_MAX+1 using ftw()
    VERIIFY that ftw() returned -1 and errno was set to ENAMETOOLONG
    OTHERWISE
    TRAVERSE file tree via a pathname of length PCTS_PATH_MAX using
    ftw()
    VERIFY that ftw() succeeded

    Test Information:
    ftw(<1023 char path>, ..., 2) returned 1 instead of -1
    *******************************************************************

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    This requests quotes the current Permanent Interpretation for this test
    and it is not necessary to provide a new interpretation on this issue.

    It is recommended that this request is rejected.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Rejected (REJ)
    Review Conclusion
    This request is refused. Please refer to PIN4.026.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority