diff options
author | Mike McLaughlin <mikem@microsoft.com> | 2019-01-08 09:35:12 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-08 09:35:12 -0800 |
commit | bd5ea1c46ca21631194610f88f2ba420e8982d5b (patch) | |
tree | 81c863053da53beb5059856e7710eb7a5ab1d60e /src/pal | |
parent | d6bf5ed160e99b9a66087dcc8738f22a9a370121 (diff) | |
download | coreclr-bd5ea1c46ca21631194610f88f2ba420e8982d5b.tar.gz coreclr-bd5ea1c46ca21631194610f88f2ba420e8982d5b.tar.bz2 coreclr-bd5ea1c46ca21631194610f88f2ba420e8982d5b.zip |
Fix issue #20585 createdump explicitly uses /tmp. (#21866)
Changed to PAL's GetTempPathA to get the temp path.
Diffstat (limited to 'src/pal')
-rw-r--r-- | src/pal/inc/pal.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/pal/inc/pal.h b/src/pal/inc/pal.h index 1621dcc4ad..d49cb13589 100644 --- a/src/pal/inc/pal.h +++ b/src/pal/inc/pal.h @@ -1103,6 +1103,14 @@ GetTempPathW( IN DWORD nBufferLength, OUT LPWSTR lpBuffer); +PALIMPORT +DWORD +PALAPI +GetTempPathA( + IN DWORD nBufferLength, + OUT LPSTR lpBuffer); + + #ifdef UNICODE #define GetTempPath GetTempPathW #else |