diff options
author | Lakshmi Priya Sekar <lasekar@microsoft.com> | 2015-09-08 12:01:33 -0700 |
---|---|---|
committer | Lakshmi Priya Sekar <lasekar@microsoft.com> | 2015-09-08 14:31:43 -0700 |
commit | 260f64716ae3bc8fb9ae4708cbb8d4a0a6c48a91 (patch) | |
tree | eaf3d7a932739a8da89e64f0c9ac322e8c671dba /src/utilcode/makepath.cpp | |
parent | 2d2d0a5b512e2832565c448d9b4c6d6c1897f150 (diff) | |
download | coreclr-260f64716ae3bc8fb9ae4708cbb8d4a0a6c48a91.tar.gz coreclr-260f64716ae3bc8fb9ae4708cbb8d4a0a6c48a91.tar.bz2 coreclr-260f64716ae3bc8fb9ae4708cbb8d4a0a6c48a91.zip |
Replace MAX_PATH with new defines, rest of coreclr.
Diffstat (limited to 'src/utilcode/makepath.cpp')
-rw-r--r-- | src/utilcode/makepath.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/utilcode/makepath.cpp b/src/utilcode/makepath.cpp index 0443b991aa..f58efdc246 100644 --- a/src/utilcode/makepath.cpp +++ b/src/utilcode/makepath.cpp @@ -40,7 +40,7 @@ *******************************************************************************/ void MakePath ( - __out_ecount (MAX_PATH) WCHAR *path, + __out_ecount (MAX_LONGPATH) WCHAR *path, __in LPCWSTR drive, __in LPCWSTR dir, __in LPCWSTR fname, @@ -92,7 +92,7 @@ void MakePath ( *path++ = *p++; count++; - if (count == MAX_PATH) { + if (count == MAX_LONGPATH) { --path; *path = _T('\0'); return; @@ -112,7 +112,7 @@ void MakePath ( *path++ = _T('\\'); count++; - if (count == MAX_PATH) { + if (count == MAX_LONGPATH) { --path; *path = _T('\0'); return; @@ -127,7 +127,7 @@ void MakePath ( *path++ = *p++; count++; - if (count == MAX_PATH) { + if (count == MAX_LONGPATH) { --path; *path = _T('\0'); return; @@ -144,7 +144,7 @@ void MakePath ( *path++ = _T('.'); count++; - if (count == MAX_PATH) { + if (count == MAX_LONGPATH) { --path; *path = _T('\0'); return; @@ -154,7 +154,7 @@ void MakePath ( while ((*path++ = *p++)) { count++; - if (count == MAX_PATH) { + if (count == MAX_LONGPATH) { --path; *path = _T('\0'); return; |