1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## 30_fix_x64_sysmalloc.dpatch by SevenMachines <SevenMachines@yahoo.co.uk>
4
## All lines beginning with `## DP:' are a description of the patch.
8
diff -urNad muse-0.8.1a~/muse/memory.cpp muse-0.8.1a/muse/memory.cpp
9
--- muse-0.8.1a~/muse/memory.cpp 2003-10-27 18:51:22.000000000 +0000
10
+++ muse-0.8.1a/muse/memory.cpp 2009-11-26 17:52:31.000000000 +0000
13
// printf("grow memory idx %d\n", idx);
15
- int esize = (idx+1) * sizeof(int);
16
+ int esize = (idx+1) * sizeof(int)+2;
19
n->next = chunks[idx];