A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update mmalloc to compile with paranoid flags used in simgrid
[simgrid.git]
/
src
/
xbt
/
mmalloc
/
sbrk-sup.c
diff --git
a/src/xbt/mmalloc/sbrk-sup.c
b/src/xbt/mmalloc/sbrk-sup.c
index
10869bd
..
0211031
100644
(file)
--- a/
src/xbt/mmalloc/sbrk-sup.c
+++ b/
src/xbt/mmalloc/sbrk-sup.c
@@
-53,8
+53,8
@@
sbrk_morecore (mdp, size)
}
else
{
- mdp -> breakval
+=
size;
- mdp -> top
+=
size;
+ mdp -> breakval
= (char*)mdp -> breakval +
size;
+ mdp -> top
= (char*)mdp -> top +
size;
}
return (result);
}