Module: wine Branch: master Commit: 62ab6ab1c5847ac0f8765fa66c51d7df24bc82f9 URL: http://source.winehq.org/git/wine.git/?a=commit;h=62ab6ab1c5847ac0f8765fa66c...
Author: Nicolas Le Cam niko.lecam@gmail.com Date: Sun May 31 13:33:17 2009 +0200
winetest: Only call GetTempPath once.
---
programs/winetest/main.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/programs/winetest/main.c b/programs/winetest/main.c index 69496bd..381328c 100644 --- a/programs/winetest/main.c +++ b/programs/winetest/main.c @@ -658,9 +658,6 @@ run_tests (char *logname) if (logfile == INVALID_HANDLE_VALUE) report (R_FATAL, "Could not open logfile: %u", GetLastError());
- if (!GetTempPathA( MAX_PATH, tmppath )) - report (R_FATAL, "Can't name temporary dir (check %%TEMP%%)."); - /* try stable path for ZoneAlarm */ strcpy( tempdir, tmppath ); strcat( tempdir, "wct" );