Title: [198945] trunk/Source/_javascript_Core
- Revision
- 198945
- Author
- [email protected]
- Date
- 2016-04-01 03:36:42 -0700 (Fri, 01 Apr 2016)
Log Message
[JSC] Missing PATH_MAX definition
https://bugs.webkit.org/show_bug.cgi?id=156102
Reviewed by Yusuke Suzuki.
Not all systems define PATH_MAX, so add a fallback value that is
long enough.
* jsc.cpp:
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (198944 => 198945)
--- trunk/Source/_javascript_Core/ChangeLog 2016-04-01 10:21:42 UTC (rev 198944)
+++ trunk/Source/_javascript_Core/ChangeLog 2016-04-01 10:36:42 UTC (rev 198945)
@@ -1,3 +1,15 @@
+2016-04-01 Alberto Garcia <[email protected]>
+
+ [JSC] Missing PATH_MAX definition
+ https://bugs.webkit.org/show_bug.cgi?id=156102
+
+ Reviewed by Yusuke Suzuki.
+
+ Not all systems define PATH_MAX, so add a fallback value that is
+ long enough.
+
+ * jsc.cpp:
+
2016-03-31 Benjamin Poulain <[email protected]>
[JSC] CFA's valuesAtHead should be a list, not a map
Modified: trunk/Source/_javascript_Core/jsc.cpp (198944 => 198945)
--- trunk/Source/_javascript_Core/jsc.cpp 2016-04-01 10:21:42 UTC (rev 198944)
+++ trunk/Source/_javascript_Core/jsc.cpp 2016-04-01 10:36:42 UTC (rev 198945)
@@ -106,6 +106,10 @@
#include <Ecore.h>
#endif
+#if !defined(PATH_MAX)
+#define PATH_MAX 4096
+#endif
+
using namespace JSC;
using namespace WTF;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes