diff options
author | Lakshmi Priya Sekar <lasekar@microsoft.com> | 2015-08-25 16:19:37 -0700 |
---|---|---|
committer | Lakshmi Priya Sekar <lasekar@microsoft.com> | 2015-08-25 16:27:45 -0700 |
commit | 034d1a61e8ac83d3b91819f7a19d7cb34e2902d3 (patch) | |
tree | 546d3bdadf61ccf62ce438d4a2c8b91632c2ae0c /src/palrt/path.cpp | |
parent | 0d618e6dea1c8582e76b043b0d454de1b80e092e (diff) | |
download | coreclr-034d1a61e8ac83d3b91819f7a19d7cb34e2902d3.tar.gz coreclr-034d1a61e8ac83d3b91819f7a19d7cb34e2902d3.tar.bz2 coreclr-034d1a61e8ac83d3b91819f7a19d7cb34e2902d3.zip |
Replace MAX_PATH with new defines in vm.
Diffstat (limited to 'src/palrt/path.cpp')
-rw-r--r-- | src/palrt/path.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/palrt/path.cpp b/src/palrt/path.cpp index 6b6f81af73..3aaae18a27 100644 --- a/src/palrt/path.cpp +++ b/src/palrt/path.cpp @@ -412,7 +412,7 @@ Returns: pointer to lpszDest STDAPI_(LPWSTR) PathCombineW(LPWSTR lpszDest, LPCWSTR lpszDir, LPCWSTR lpszFile) { #ifdef DEBUG - RIPMSG(lpszDest && IS_VALID_WRITE_BUFFER(lpszDest, TCHAR, MAX_PATH), "PathCombine: caller passed bad lpszDest"); + RIPMSG(lpszDest && IS_VALID_WRITE_BUFFER(lpszDest, TCHAR, MAX_LONGPATH), "PathCombine: caller passed bad lpszDest"); RIPMSG(!lpszDir || IS_VALID_STRING_PTR(lpszDir, -1), "PathCombine: caller passed bad lpszDir"); RIPMSG(!lpszFile || IS_VALID_STRING_PTR(lpszFile, -1), "PathCombine: caller passed bad lpszFile"); RIPMSG(lpszDir || lpszFile, "PathCombine: caller neglected to pass lpszDir or lpszFile"); @@ -421,7 +421,7 @@ STDAPI_(LPWSTR) PathCombineW(LPWSTR lpszDest, LPCWSTR lpszDir, LPCWSTR lpszFile) if (lpszDest) { - TCHAR szTemp[MAX_PATH]; + TCHAR szTemp[MAX_LONGPATH]; LPWSTR pszT; *szTemp = W('\0'); |