共用方式為


2.1.4.17 Algorithm for Noting That a File Has Been Modified

The inputs for this algorithm are as follows:

  • Open: The Open through which the file was modified.

The pseudocode for the algorithm is as follows:

  • The object store SHOULD<43>:

    • If Open.UserSetModificationTime is FALSE, set Open.File.LastModificationTime to the current system time.

    • If Open.UserSetChangeTime is FALSE, set Open.File.LastChangeTime to the current system time.

    • If Open.UserSetAccessTime is FALSE, set Open.File.LastAccessTime to the current system time.

    • Set Open.File.FileAttributes.FILE_ATTRIBUTE_ARCHIVE to TRUE.