Changeset 198945 in webkit


Ignore:
Timestamp:
Apr 1, 2016 3:36:42 AM (8 years ago)
Author:
berto@igalia.com
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:
Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r198935 r198945  
     12016-04-01  Alberto Garcia  <berto@igalia.com>
     2
     3        [JSC] Missing PATH_MAX definition
     4        https://bugs.webkit.org/show_bug.cgi?id=156102
     5
     6        Reviewed by Yusuke Suzuki.
     7
     8        Not all systems define PATH_MAX, so add a fallback value that is
     9        long enough.
     10
     11        * jsc.cpp:
     12
    1132016-03-31  Benjamin Poulain  <bpoulain@apple.com>
    214
  • trunk/Source/JavaScriptCore/jsc.cpp

    r198844 r198945  
    107107#endif
    108108
     109#if !defined(PATH_MAX)
     110#define PATH_MAX 4096
     111#endif
     112
    109113using namespace JSC;
    110114using namespace WTF;
Note: See TracChangeset for help on using the changeset viewer.