ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Unix/vm_alloc.cpp
(Generate patch)

Comparing BasiliskII/src/Unix/vm_alloc.cpp (file contents):
Revision 1.1 by gbeauche, 2001-06-26T22:35:41Z vs.
Revision 1.2 by cebix, 2001-07-06T22:37:23Z

# Line 109 | Line 109 | void * vm_acquire(size_t size)
109          return addr;
110   #endif
111   #endif
112 <        
112 >
113          // Explicitely protect the newly mapped region here because on some systems,
114          // say MacOS X, mmap() doesn't honour the requested protection flags.
115          if (vm_protect(addr, size, VM_PAGE_DEFAULT) != 0)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines