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

Comparing SheepShaver/src/Unix/main_unix.cpp (file contents):
Revision 1.18 by gbeauche, 2003-12-05T12:36:10Z vs.
Revision 1.19 by gbeauche, 2003-12-05T12:41:19Z

# Line 1781 | Line 1781 | bool SheepMem::Init(void)
1781          int page_size = getpagesize();
1782          if (vm_acquire_fixed((char *)zero_page, page_size) < 0)
1783                  return false;
1784 +        memset((char *)zero_page, 0, page_size);
1785          if (vm_protect((char *)zero_page, page_size, VM_PAGE_READ) < 0)
1786                  return false;
1787  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines