Author: mturk
Date: Thu Apr 23 12:55:15 2009
New Revision: 767908
URL: http://svn.apache.org/viewvc?rev=767908&view=rev
Log:
Set real MAX_PATH
Modified:
commons/sandbox/runtime/trunk/src/main/native/os/win32/platform.c
Modified: commons/sandbox/runtime/trunk/src/main/native/os/win32/platform.c
URL:
http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/win32/platform.c?rev=767908&r1=767907&r2=767908&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/win32/platform.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/win32/platform.c Thu Apr
23 12:55:15 2009
@@ -50,7 +50,8 @@
#endif
break;
case ACR_PLAT_PATH_MAX:
- return MAX_PATH - 1;
+ /* Without \\?\ frefix */
+ return 248;
break;
default:
break;