Line
Link Here
|
0 |
-- a/Modules/_ctypes/malloc_closure.c |
0 |
++ b/Modules/_ctypes/malloc_closure.c |
Lines 75-81
static void more_core(void)
Link Here
|
75 |
-1, |
75 |
-1, |
76 |
0); |
76 |
0); |
77 |
if (item == (void *)MAP_FAILED) |
77 |
if (item == (void *)MAP_FAILED) |
78 |
return; |
78 |
if (errno != EPERM) |
|
|
79 |
return; |
80 |
else { |
81 |
item = (ITEM *)mmap(NULL, |
82 |
count * sizeof(ITEM), |
83 |
PROT_READ | PROT_WRITE, |
84 |
MAP_PRIVATE | MAP_ANONYMOUS, |
85 |
-1, |
86 |
0); |
87 |
if (item == (void *)MAP_FAILED; |
88 |
return; |
89 |
} |
79 |
#endif |
90 |
#endif |
80 |
|
91 |
|
81 |
#ifdef MALLOC_CLOSURE_DEBUG |
92 |
#ifdef MALLOC_CLOSURE_DEBUG |