diff options
author | Jeremy Kuhne <jeremy.kuhne@microsoft.com> | 2015-08-12 16:36:19 -0700 |
---|---|---|
committer | Jeremy Kuhne <jeremy.kuhne@microsoft.com> | 2015-08-24 16:00:21 -0700 |
commit | bfad1ba0dc515be59884c642be887d60cad74c96 (patch) | |
tree | 2f7f131a61316f857f5629019cc44baa637e2617 /src/debug/ee | |
parent | f39b70bcd4579e72613b334201d67c9ab1515282 (diff) | |
download | coreclr-bfad1ba0dc515be59884c642be887d60cad74c96.tar.gz coreclr-bfad1ba0dc515be59884c642be887d60cad74c96.tar.bz2 coreclr-bfad1ba0dc515be59884c642be887d60cad74c96.zip |
Run code under long paths on Unix
This change allows the happy path for a simple corerun Hello World app.
This is pretty close to the bare minimum needed to run.
Adds a MAX_LONGPATH define for long paths and MAX_PATH_FNAME to use for
places where MAX_PATH is used for something that is trully 260 characters
(usually file names).
Diffstat (limited to 'src/debug/ee')
-rw-r--r-- | src/debug/ee/debugger.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/debug/ee/debugger.cpp b/src/debug/ee/debugger.cpp index ce72f276e8..e161f13c3f 100644 --- a/src/debug/ee/debugger.cpp +++ b/src/debug/ee/debugger.cpp @@ -15135,7 +15135,7 @@ HRESULT Debugger::InitAppDomainIPC(void) } hEnsureCleanup(this); DWORD dwStrLen = 0; - WCHAR szExeName[MAX_PATH]; + WCHAR szExeName[MAX_LONGPATH]; int i; // all fields in the object can be zero initialized. @@ -15185,7 +15185,7 @@ HRESULT Debugger::InitAppDomainIPC(void) // also initialize the process name dwStrLen = WszGetModuleFileName(NULL, szExeName, - MAX_PATH); + MAX_LONGPATH); // If we couldn't get the name, then use a nice default. if (dwStrLen == 0) |