@@ -716,12 +716,17 @@ date.ds_Days = modificationTime / 86400; date.ds_Minute = ((LONG)modificationTime % 86400) / 60; date.ds_Tick = fmod(modificationTime, 60) * TICKS_PER_SECOND; +# ifdef OF_AMIGAOS4 + if (!SetDate([path cStringWithEncoding: [OFLocale encoding]], + &date) != 0) { +# else if (!SetFileDate([path cStringWithEncoding: [OFLocale encoding]], &date) != 0) { +# endif setErrno(); @throw [OFSetItemAttributesFailedException exceptionWithURL: URL attributes: attributes