mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Fix mmap and test_mmap under Windows too (followup to r88022)
This commit is contained in:
parent
3988ed8e6f
commit
d0ebc75e73
2 changed files with 7 additions and 5 deletions
|
@ -1300,6 +1300,7 @@ new_mmap_object(PyTypeObject *type, PyObject *args, PyObject *kwdict)
|
|||
else
|
||||
m_obj->size = low;
|
||||
#endif
|
||||
m_obj->size -= offset;
|
||||
} else {
|
||||
m_obj->size = map_size;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue