4
0
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:
Corinna Vinschen 2001-01-29 09:25:10 +00:00
parent 6a4878cf16
commit f977222f70
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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;