mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@23556 d073be05-634f-4543-b044-5fe20cf6d1d6
21 lines
1023 B
C
21 lines
1023 B
C
--- dead_pool.c.orig 2007-03-28 12:43:06.000000000 +0100
|
|
+++ dead_pool.c 2007-03-28 12:43:21.000000000 +0100
|
|
@@ -68,7 +68,7 @@
|
|
/* Allocate space for the dead_pool structure */
|
|
newpool = (dead_pool *) mmap(0, sizeof(dead_pool),
|
|
PROT_READ | PROT_WRITE,
|
|
- MAP_SHARED | MAP_ANONYMOUS, -1, 0);
|
|
+ MAP_SHARED | MAP_ANON, -1, 0);
|
|
if(!newpool) {
|
|
show_msg(MSGERR, "init_pool: unable to mmap deadpool "
|
|
"(tried to map %d bytes)\n", sizeof(dead_pool));
|
|
@@ -93,7 +93,7 @@
|
|
/* Allocate space for the entries */
|
|
newpool->entries = (pool_ent *) mmap(0, newpool->n_entries * sizeof(pool_ent),
|
|
PROT_READ | PROT_WRITE,
|
|
- MAP_SHARED | MAP_ANONYMOUS, -1, 0);
|
|
+ MAP_SHARED | MAP_ANON, -1, 0);
|
|
if(!newpool->entries) {
|
|
munmap((void *)newpool, sizeof(dead_pool));
|
|
show_msg(MSGERR, "init_pool: unable to mmap deadpool entries "
|