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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0373 Actions


    Problem Report Number 0373
    Submitter's Classification Minor System Fault
    State Resolved
    Resolution Minor System Fault (MSF)
    Problem Resolution ID MSF.X.0014
    Raised 1994-09-16 08:00
    Updated 2003-03-13 08:00
    Published 1994-09-22 08:00
    Expiry Date 1995-09-21
    Product Standard Internationalised System Calls and Libraries (XPG4)
    Certification Program The Open Brand certification program
    Test Suite VSX4 version 4.3.2
    Test Identification POSIX.os/ioprim/write 2
    Problem Summary MSF4.014 This problem is investigated and fixed in the next release.
    Problem Text
    This problem is investigated and fixed in the next release.
    Test Output
    ************************************************************************
    /tset/POSIX.os/ioprim/write/T.write 2 Failed

    Test Description:
    When nbytes is equal to zero then the file pointer is not moved, zero
    is returned and the st_atime, st_ctime and st_mtime fields are not
    updated. This happens whether the file is created using creat() or
    open() with O_APPEND set.
    Posix Ref: Component WRITE Assertion 6.4.2.2-05(A)

    Test Strategy:
    CREATE new file using creat()
    SAVE timestamps using fsavtimes()
    VERIFY write(fd, buf, 0) returns zero
    VERIFY that the timestamps have not been updated using fchktimes()
    VERIFY lseek(fd, 0, SEEK_END) returns zero
    CLOSE file descriptor using close()
    OPEN file using open() with O_APPEND set
    WRITE some data to file
    REWIND file using lseek(fd, 0, SEEK_SET)
    SAVE timestamps using fsavtimes()
    VERIFY write(fd, buf, 0) returns zero
    VERIFY that the timestamps have not been updated using fchktimes()
    VERIFY lseek(fd, 0, SEEK_CUR) returns zero
    CLOSE file descriptor using close()
    UNLINK file

    Test Information:
    write(fd, buf, 0) with O_APPEND set moved the file pointer from 0 to 26
    ************************************************************************

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    X/Open has previously agreed to treat this as a minor system fault
    on another system (see MSF4.012) and it is recommended that a waiver
    is granted for this minor system default. This error was previously
    covered by TIN4.005 which has been superceded by an IEEE interpretation.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Minor System Fault (MSF)
    Review Conclusion
    A Temporary Waiver is granted

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority