Don't set the MAP_FIXED flag for mmap on Linux. This allows us
to give a reasonable error message when the areas we're trying
to map are already reserved, instead of crashing due to
overwriting them. (As suggested by James Knight on sbcl-devel,
2005-08-01).
os_validate(os_vm_address_t addr, os_vm_size_t len)
{
int flags = MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE;
- os_vm_address_t actual ;
+ os_vm_address_t actual;
- if (addr)
- flags |= MAP_FIXED;
#ifdef LISP_FEATURE_ALPHA
- else {
- flags |= MAP_FIXED;
+ if (!addr) {
addr=under_2gb_free_pointer;
}
#endif
;;; checkins which aren't released. (And occasionally for internal
;;; versions, especially for internal versions off the main CVS
;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"0.9.3.47"
+"0.9.3.48"