Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

The offsets should probably be 0

  • Loading branch information...
commit fb15ffc3a315705b3a167e1af11c1e28c0d3be91 1 parent 02a169b
@schmichael authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 mmstats/_mmap.py
View
4 mmstats/_mmap.py
@@ -64,8 +64,8 @@ def mmap(size, fd):
m_ptr = libc.MapViewOfFile(
fd,
ctypes.wintypes.FILE_MAP_ALL_ACCESS, #TODO ACCESS
- size, #FIXME High order offset?!
- size, #FIXME Low order offset?!
+ 0, #FIXME High order offset?!
+ 0, #FIXME Low order offset?!
size
)
return m_ptr
Please sign in to comment.
Something went wrong with that request. Please try again.