We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdceaf6 commit 0f0dd22Copy full SHA for 0f0dd22
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/runtime/PosixSupportLibrary.java
@@ -89,7 +89,7 @@ public abstract class PosixSupportLibrary extends Library {
89
public static final int S_IFLNK = 0120000; /* Symbolic link. */
90
public static final int S_IFSOCK = 0140000; /* Socket. */
91
92
- public static final int MAP_ANONYMOUS = getPythonOSName().equals(PLATFORM_DARWIN) ? 0x10 : 0x20;
+ public static final int MAP_ANONYMOUS = getPythonOSName().equals(PLATFORM_DARWIN) ? 4096 : 0x20;
93
94
// Constants for accessing the fields of the fstat result:
95
// TODO: have these in posix.c (maybe posix.h) and extract them along with other constants
0 commit comments