Fix GC_unix_mmap_get_mem for open of /dev/zero failure
authorIvan Maidanski <ivmai@mail.ru>
Fri, 19 Oct 2012 05:10:07 +0000 (09:10 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 19 Oct 2012 13:27:09 +0000 (17:27 +0400)
commit2c62153351eac55a28e9baee201cd4aca25d9595
treeb946e3f1fa619eae8783de97eeeb3d8309d8dd7e
parent0d667d207ca6cc96316e7d8ed896b222c41d3137
Fix GC_unix_mmap_get_mem for open of /dev/zero failure

* os_dep.c (GC_unix_mmap_get_mem): Check open("/dev/zero") (or open
of similar file on Symbian) result and abort (with the appropriate
message) on failure (only if USE_MMAP_ANON is undefined).
os_dep.c