WG15 Defect Report Ref: 9945-1-08
Topic: file time update


This is an approved interpretation of 9945-1:1990.

.

Last update: 1997-05-20


                                                                9945-1-90 #8

        Classification: No change required


 _____________________________________________________________________________


	Topic:			file time update
	Relevant Sections:	2.3.5, 5.6.6.2


Defect Report:
-----------------------

    In 2.3.5 file times update [General Concepts], page 22,
    lines 470-475:

	"An implementation may update fields that are marked for update
	immediately, it may update such fields periodically.  When the
	fields are updated, they are set to the current time and the
	update marks are cleared.  All fields that are marked for update
	shall be updated when the file is no longer open by any process,
	or when a stat() or fstat() is performed on the file.  Other times
	at which updates are done are unspecified."

    In 5.6.6.2 Description [Set File Access and Modification Times],
    page 109, lines 894-895:

	"The utime() function sets the access and modification times of
	the named file."

    Neither the general description of file times update nor the
    description of the utime() function specifies the effect of the
    utime() function on fields already marked for update.  May a
    conforming implementation update the fields again, after a call to
    the utime() function successfully returns, as a result of a
    previous action that caused the fields to be marked for update,
    with the effect of overwriting the values stored by the utime()
    function?

WG15 response for ISO/IEC 9945-1:1990 (IEEE Std 1003.1-1990)
--------------------------------------------------

It is unspecified if an implementation might overwrite the
values stored by utime() where such values are marked for update
prior to the call to utime().

Rationale for Interpretation:
-----------------------------

(none, the interpretation stands as is)

 _____________________________________________________________________________