aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/tork/files/patch-src-tsocks-dead_pool.c
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/tork/files/patch-src-tsocks-dead_pool.c')
-rw-r--r--net-mgmt/tork/files/patch-src-tsocks-dead_pool.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/net-mgmt/tork/files/patch-src-tsocks-dead_pool.c b/net-mgmt/tork/files/patch-src-tsocks-dead_pool.c
deleted file mode 100644
index fbbfb94f2678..000000000000
--- a/net-mgmt/tork/files/patch-src-tsocks-dead_pool.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/tsocks/dead_pool.c.orig 2008-02-11 00:11:18.000000000 +0100
-+++ src/tsocks/dead_pool.c 2008-02-11 00:12:27.000000000 +0100
-@@ -69,7 +69,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));
-@@ -94,7 +94,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 "