projects
/
repair.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Hacks to allow repairs of fields used to define layouts of arrays.
[repair.git]
/
Repair
/
RepairCompiler
/
MCC
/
CRuntime
/
memory.h
diff --git
a/Repair/RepairCompiler/MCC/CRuntime/memory.h
b/Repair/RepairCompiler/MCC/CRuntime/memory.h
index 3a1c76b81fcb1e4c350c7825458236e945b002f8..4c8dbf5374d11de1b82c4e65d3c367fbae087bf5 100755
(executable)
--- a/
Repair/RepairCompiler/MCC/CRuntime/memory.h
+++ b/
Repair/RepairCompiler/MCC/CRuntime/memory.h
@@
-5,5
+5,6
@@
#define malloc(size) ourmalloc(size)
#define calloc(memb,size) ourcalloc(memb,size)
#define realloc(ptr,size) ourrealloc(ptr,size)
+#define strdup(str) ourstrdup(str)
#define free(size) ourfree(size)
#endif