harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r981811 - /harmony/enhanced/java/trunk/jdktools/modules/samsa/src/main/native/samsa/samsa.c
Date Tue, 03 Aug 2010 10:30:01 GMT
Author: hindessm
Date: Tue Aug  3 10:30:01 2010
New Revision: 981811

URL: http://svn.apache.org/viewvc?rev=981811&view=rev
Log:
Fix z/OS PATH_MAX define added in r965394 to use the same value as the
one used in the classlib launcher.

Modified:
    harmony/enhanced/java/trunk/jdktools/modules/samsa/src/main/native/samsa/samsa.c

Modified: harmony/enhanced/java/trunk/jdktools/modules/samsa/src/main/native/samsa/samsa.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/trunk/jdktools/modules/samsa/src/main/native/samsa/samsa.c?rev=981811&r1=981810&r2=981811&view=diff
==============================================================================
--- harmony/enhanced/java/trunk/jdktools/modules/samsa/src/main/native/samsa/samsa.c (original)
+++ harmony/enhanced/java/trunk/jdktools/modules/samsa/src/main/native/samsa/samsa.c Tue Aug
 3 10:30:01 2010
@@ -80,8 +80,9 @@
 #endif
 
 #if defined(ZOS)
+/* zOS does not define PATH_MAX, so just set it to be _POSIX_PATH_MAX */
 #if !defined(PATH_MAX)
-#define PATH_MAX 1024
+#define PATH_MAX _POSIX_PATH_MAX
 #endif
 #endif
 



Mime
View raw message