summaryrefslogtreecommitdiff
path: root/src/debug/ildbsymlib
diff options
context:
space:
mode:
authorLakshmi Priya Sekar <lasekar@microsoft.com>2015-09-08 12:01:33 -0700
committerLakshmi Priya Sekar <lasekar@microsoft.com>2015-09-08 14:31:43 -0700
commit260f64716ae3bc8fb9ae4708cbb8d4a0a6c48a91 (patch)
treeeaf3d7a932739a8da89e64f0c9ac322e8c671dba /src/debug/ildbsymlib
parent2d2d0a5b512e2832565c448d9b4c6d6c1897f150 (diff)
downloadcoreclr-260f64716ae3bc8fb9ae4708cbb8d4a0a6c48a91.tar.gz
coreclr-260f64716ae3bc8fb9ae4708cbb8d4a0a6c48a91.tar.bz2
coreclr-260f64716ae3bc8fb9ae4708cbb8d4a0a6c48a91.zip
Replace MAX_PATH with new defines, rest of coreclr.
Diffstat (limited to 'src/debug/ildbsymlib')
-rw-r--r--src/debug/ildbsymlib/symread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug/ildbsymlib/symread.cpp b/src/debug/ildbsymlib/symread.cpp
index ce94892008..ceaea1c01f 100644
--- a/src/debug/ildbsymlib/symread.cpp
+++ b/src/debug/ildbsymlib/symread.cpp
@@ -521,7 +521,7 @@ HRESULT SymReader::VerifyPEDebugInfo(const WCHAR* szFileName)
// Replace the extension with ildb
if (_wsplitpath_s( fullpath, drive, COUNTOF(drive), dir, COUNTOF(dir), fname, COUNTOF(fname), NULL, 0 ))
IfFailGo(HrFromWin32(ERROR_BAD_FORMAT));
- if (_wmakepath_s(m_szStoredSymbolName, MAX_PATH, drive, dir, fname, W("ildb") ))
+ if (_wmakepath_s(m_szStoredSymbolName, MAX_LONGPATH, drive, dir, fname, W("ildb") ))
IfFailGo(HrFromWin32(ERROR_BAD_FORMAT));
// It looks valid, make sure to set the return code