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.18 by gbeauche, 2005-03-24T23:45:40Z vs.
Revision 1.19 by gbeauche, 2005-06-06T19:40:17Z

# Line 231 | Line 231 | void vm_exit(void)
231   {
232   #ifdef HAVE_MMAP_VM
233   #ifndef zero_fd
234 <        close(zero_fd);
234 >        if (zero_fd != -1) {
235 >                close(zero_fd);
236 >                zero_fd = -1;
237 >        }
238   #endif
239   #endif
240   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines