summaryrefslogtreecommitdiff
path: root/Build/source/utils/m-tx/TLpatches/patch-02-malloc
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/m-tx/TLpatches/patch-02-malloc')
-rw-r--r--Build/source/utils/m-tx/TLpatches/patch-02-malloc12
1 files changed, 12 insertions, 0 deletions
diff --git a/Build/source/utils/m-tx/TLpatches/patch-02-malloc b/Build/source/utils/m-tx/TLpatches/patch-02-malloc
new file mode 100644
index 00000000000..178d04ee483
--- /dev/null
+++ b/Build/source/utils/m-tx/TLpatches/patch-02-malloc
@@ -0,0 +1,12 @@
+diff -ur mtx-0.62.orig/multfile.c mtx-0.62/multfile.c
+--- mtx-0.62.orig/multfile.c Tue Feb 09 05:52:29 2016
++++ mtx-0.62/multfile.c Thu Feb 11 01:52:08 2016
+@@ -61,7 +61,7 @@
+ printf("===! Ignoring recursive include of file %s\n", filename);
+ return;
+ }
+- newnode = malloc(sizeof(filenode));
++ newnode = Malloc(sizeof(filenode));
+ newnode->actualfile = NULL;
+ strcpy(newnode->name, filename);
+ newnode->prev = current;