﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
19	FileSetTime() erronously rounds UP on non NTFS partition	pseakins	Jpm	"If executed on a FAT drive the following script will fail (reports incorrect timestamp). It works correctly on an NTFS drive. XP-Pro-SP2

{{{
#include <File.au3>
$TempFile = _TempFile(@ScriptDir, 'tst', '.txt', 5)
$handle = FileOpen($TempFile, 1)
If $handle = -1 Then
  MsgBox("""", """", 'Unable to open temporary file ""' & $TempFile & '"".')
  Exit
EndIf
FileWrite($handle, ""test"")
FileClose($handle)
$timeset = '20071219184516'
FileSetTime($TempFile, $timeset, 0)
$timeget = FileGetTime($TempFile, 0, 1)
FileDelete($TempFile)
If $timeget <> $timeset Then
  MsgBox("""", """", 'File timestamp is WRONG' & @CRLF & _
  'It should be ' & $timeset & @CRLF & _
  'instead, it is ' & $timeget)
Else
  MsgBox("""", """", 'Timestamp is CORRECT')
EndIf
}}}"	Bug	closed	3.2.11.0	AutoIt	3.2.10.0		Fixed	XP Pro Sp2	pseakins@…
