minix/minix/llvm/static
David van Moolenbroek f55e3cae08 libmagic: fix ASR padding for memory mapping
The code could not decide whether to apply the padding to the start
or the end of the region, resulting in strange behavior because part
of the returned range might not have the right properties.  With this
patch, padding is now consistently applied at the end of the region,
since virtual mmap addresses are allocated from high to low.

Also fix a few small related bugs in error handling code.

Change-Id: I327814bb3921d7982ffc1296a5bf365d9c79c1d9
2015-09-17 17:14:47 +00:00
..
magic libmagic: fix ASR padding for memory mapping 2015-09-17 17:14:47 +00:00
Makefile.settings Break loose from llvm-apps entirely 2015-09-17 13:58:57 +00:00