20 Jul
2018
20 Jul
'18
12:05 a.m.
On Thu, 19 Jul 2018 at 15:14, Stefan Dösinger <stefan(a)codeweavers.com> wrote:
@@ -1060,6 +1062,29 @@ static void test_Unlink(void) ok(SetCurrentDirectoryW(current_path), "SetCurrentDirectoryW failed\n"); }
+static void test_Temp_get(void) +{ + WCHAR path[MAX_PATH + 1], temp_path[MAX_PATH]; + WCHAR *retval; + DWORD len; + + GetTempPathW(sizeof(temp_path)/sizeof(*temp_path), temp_path);
What about using ARRAY_SIZE() or MAX_PATH here? -- Mathew Hodson