summaryrefslogtreecommitdiff
path: root/src/pal/src/include/pal/map.hpp
diff options
context:
space:
mode:
authorJeremy Kuhne <jeremy.kuhne@microsoft.com>2015-08-12 16:36:19 -0700
committerJeremy Kuhne <jeremy.kuhne@microsoft.com>2015-08-24 16:00:21 -0700
commitbfad1ba0dc515be59884c642be887d60cad74c96 (patch)
tree2f7f131a61316f857f5629019cc44baa637e2617 /src/pal/src/include/pal/map.hpp
parentf39b70bcd4579e72613b334201d67c9ab1515282 (diff)
downloadcoreclr-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/pal/src/include/pal/map.hpp')
-rw-r--r--src/pal/src/include/pal/map.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pal/src/include/pal/map.hpp b/src/pal/src/include/pal/map.hpp
index 3e208e375c..22812037c9 100644
--- a/src/pal/src/include/pal/map.hpp
+++ b/src/pal/src/include/pal/map.hpp
@@ -144,7 +144,7 @@ namespace CorUnix
class CFileMappingImmutableData
{
public:
- CHAR szFileName[MAX_PATH + 1];
+ CHAR szFileName[MAX_LONGPATH + 1];
UINT MaxSize; // The max size of the file mapping object
DWORD flProtect; // Protection desired for the file view
BOOL bPALCreatedTempFile; // TRUE if it's a PAL created file