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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0365 Actions


    Problem Report Number 0365
    Submitter's Classification Minor System Fault
    State Resolved
    Resolution Minor System Fault (MSF)
    Problem Resolution ID MSF.X.0006
    Raised 1994-02-07 08:00
    Updated 2003-03-13 08:00
    Published 1994-02-08 08:00
    Expiry Date 1995-02-07
    Product Standard Internationalised System Calls and Libraries (XPG4)
    Certification Program The Open Brand certification program
    Test Suite VSX4 version 4.2.4
    Test Identification ANSI.os/streamio/Mgetc/T.fgetc 11
    Problem Summary MSF4.006 This behavior is shown in much more tests: ANSI.os/streamio/Mgetc/T.getc 11, ANSI.os/streamio/Mgetc/T.getchar 11, ANSI.os/streamio/fgets/T.fgets 12, ANSI.os/streamio/fread/T.fread 14, ANSI.os/streamio...
    Problem Text
    This behavior is shown in much more tests:
    ANSI.os/streamio/Mgetc/T.getc 11,
    ANSI.os/streamio/Mgetc/T.getchar 11,
    ANSI.os/streamio/fgets/T.fgets 12,
    ANSI.os/streamio/fread/T.fread 14,
    ANSI.os/streamio/getc/T.fgetc 11,
    ANSI.os/streamio/getc/T.getc 11,
    ANSI.os/streamio/getc/T.getchar 11,
    ANSI.os/streamio/gets/T.gets 12,
    ANSI.os/streamio/scanf/T.fscanf 56,
    ANSI.os/streamio/scanf/T.scanf 56,
    POSIX.os/ioprim/read/T.read 21,
    XOPEN.os/streamio/getw/T.getw 11,
    XPG4.os/wstreamio/Mgetwc/T.fgetwc 11,
    XPG4.os/wstreamio/Mgetwc/T.getwc 11,
    XPG4.os/wstreamio/Mgetwc/T.getwchar 11,
    XPG4.os/wstreamio/fgetws/T.fgetws 12,
    XPG4.os/wstreamio/getwc/T.fgetwc 11,
    XPG4.os/wstreamio/getwc/T.getwc 11 and
    XPG4.os/wstreamio/getwc/T.getwchar 11.

    Therefore the Interpretation Request VWG/014/063092 exists, in which
    the item "OPEN RESOLUTION" tells:
    Pending an IEEE interpretation, classify as a temporary interpretation.
    The "Test Suite Status" tells:
    Retain a documented grey area where it has not yet been resolved and
    X/Open's recommendation was to leave the tests as they are.
    Test Output
    400|168 11 1 20:10:15|IC Start
    200|168 11 20:10:15|TP Start
    520|168 11 6051 2 1|Call to fgetc() changed time stamps on getc-d.11/getc-t.11
    520|168 11 6051 2 2|time stamps incorrect: atime was updated
    220|168 11 1 20:10:17|FAIL
    410|168 11 1 20:10:17|IC End

    ************************************************************************
    /tset/ANSI.os/streamio/Mgetc/T.fgetc 11 Failed

    Test Description:
    If the implementation supports a read-only file system:
    When the file pointer references a file on a read-only file
    system, then fgetc() does not update the time related element
    st_atime of the file.
    Posix Ref: Component FGETC Assertion 8.2.3-X1(A)

    Test Strategy:
    CREATE directory
    CREATE child process
    OBTAIN the name of the readonly file system VSX_ROFS using vgetenv()
    - (vlib)
    EXECUTE new program using as parameters : name of readonly file
    system, directory name and file name
    SUBPROGRAM:
    CREATE file on readonly file system and mount it readonly using
    setuprofs() - (tsetlib)
    OPEN file on readonly file system using fopen()
    SAVE file timestamp using savtimes()
    READ data from file using fgetc()
    VERIFY that EOF is returned and errno is unchanged
    VERIFY that time stamps were not changed using chktimes()
    UNMOUNT readonly file system and remove data file using
    clnuprofs() - (tsetlib)

    Test Information:
    Call to fgetc() changed time stamps on getc-d.11/getc-t.11
    time stamps incorrect: atime was updated
    ************************************************************************

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    This was previously a temporary interpretation which has now been
    resolved through the IEEE interpretations process. It is recommended
    that this is considered to be a minor system fault.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Minor System Fault (MSF)
    Review Conclusion
    A temporary waiver is granted for this minor system defect.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority