mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-19 04:49:25 +08:00
* mmap.cc (mmap_record::find_empty): Fix loop condition.
This commit is contained in:
parent
6a4878cf16
commit
f977222f70
@ -1,3 +1,7 @@
|
||||
Mon Jan 29 10:23:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* mmap.cc (mmap_record::find_empty): Fix loop condition.
|
||||
|
||||
Sun Jan 28 19:40:40 2001 Christopher Faylor <cgf@cygnus.com>
|
||||
|
||||
* syscalls.cc (_link): Make sure that newpath does not exist. Set
|
||||
|
@ -90,7 +90,7 @@ mmap_record::find_empty (DWORD pages)
|
||||
DWORD mapped_pages = PAGE_CNT (size_to_map_);
|
||||
DWORD start;
|
||||
|
||||
for (start = 0; start < mapped_pages - pages; ++start)
|
||||
for (start = 0; start <= mapped_pages - pages; ++start)
|
||||
if (!MAP_ISSET (start))
|
||||
{
|
||||
DWORD cnt;
|
||||
|
Loading…
x
Reference in New Issue
Block a user