projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* DataGrid.cs: move back to a more lazy scheme for creating the
[mono.git]
/
libgc
/
os_dep.c
diff --git
a/libgc/os_dep.c
b/libgc/os_dep.c
index ef80a9d093ec2dfd0965a28965177628804ac8ba..e92a9ef636c4ec2dbdb32a3109696df383c6d5f2 100644
(file)
--- a/
libgc/os_dep.c
+++ b/
libgc/os_dep.c
@@
-1617,6
+1617,8
@@
word bytes;
# else
GC_ASSERT(last_addr != 0);
# endif
+ if (((word)result % HBLKSIZE) != 0)
+ ABORT ("GC_unix_get_mem: Memory returned by mmap is not aligned to HBLKSIZE.");
return((ptr_t)result);
}