Re: msi: fixed MsiGetFileHashW for empty files (try 2)
4 Apr
2012
4 Apr
'12
5:15 p.m.
Robert van Herk <mijnspamboxje(a)hotmail.com> writes:
@@ -493,6 +493,45 @@ static void test_MsiGetFileHash(void) } }
+static void test_MsiGetFileHashForEmptyFile(void) { + char path[MAX_PATH]; + MSIFILEHASHINFO hi; + char file[MAX_PATH]; + UINT res; + + /* Create empty temp file */ + GetTempPath( + MAX_PATH, + path + );
You should add that to the existing MsiGetFileHash tests, there's no need for a separate function. -- Alexandre Julliard julliard(a)winehq.org
5005
Age (days ago)
5005
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard