From: Louis Lenders xerox.xerox2000x@gmail.com
Currently it gives weird output in the console logs like "GetTempPath2W (260, L"\2898\99f6\6fff") semi-stub", because the buffer is not yet filled with the path. --- dlls/kernelbase/file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/kernelbase/file.c b/dlls/kernelbase/file.c index 249f476eb7e..f0dedfe3b14 100644 --- a/dlls/kernelbase/file.c +++ b/dlls/kernelbase/file.c @@ -2491,7 +2491,7 @@ DWORD WINAPI DECLSPEC_HOTPATCH GetTempPathW( DWORD count, LPWSTR path ) DWORD WINAPI DECLSPEC_HOTPATCH GetTempPath2A(DWORD count, LPSTR path) { /* TODO: Set temp path to C:\Windows\SystemTemp\ when a SYSTEM process calls this function */ - FIXME("(%lu, %s) semi-stub\n", count, path); + FIXME("(%lu, %p) semi-stub\n", count, path); return GetTempPathA(count, path); }
@@ -2502,7 +2502,7 @@ DWORD WINAPI DECLSPEC_HOTPATCH GetTempPath2A(DWORD count, LPSTR path) DWORD WINAPI DECLSPEC_HOTPATCH GetTempPath2W(DWORD count, LPWSTR path) { /* TODO: Set temp path to C:\Windows\SystemTemp\ when a SYSTEM process calls this function */ - FIXME("(%lu, %s) semi-stub\n", count, debugstr_w(path)); + FIXME("(%lu, %p) semi-stub\n", count, path); return GetTempPathW(count, path); }