Fix InexactError() on windows when trying to mmap large (>2GB) files.…#13682
Fix InexactError() on windows when trying to mmap large (>2GB) files.…#13682
Conversation
base/mmap.jl
Outdated
There was a problem hiding this comment.
indentation is a little odd here, make sure it's all spaces instead of tabs?
There was a problem hiding this comment.
I ran make check-whitespace and it seemed to pass. That would catch it, right?
There was a problem hiding this comment.
check-whitespace doesn't enforce tabs or look at the initial indent of anything, just trailing whitespace at the end of a line
2ff591f to
a817b5e
Compare
|
Whitespace should be more consistent now. |
base/mmap.jl
Outdated
There was a problem hiding this comment.
I think the second input here should stay Cint, ref https://msdn.microsoft.com/en-us/library/windows/desktop/aa366791(v=vs.85).aspx and https://msdn.microsoft.com/en-us/library/windows/desktop/aa383751(v=vs.85).aspx
a817b5e to
991443c
Compare
|
Ok, everything should be properly typed now. |
base/mmap.jl
Outdated
There was a problem hiding this comment.
There was a problem hiding this comment.
I was going off of: https://msdn.microsoft.com/en-us/library/aa914405.aspx.
There was a problem hiding this comment.
careful
Windows Mobile 6.5
apparently the mobile version of the winapi has different types. lovely.
There was a problem hiding this comment.
Ah, good catch. I'll try to update tonight.
991443c to
9cf995e
Compare
Fix InexactError() on windows when trying to mmap large (>2GB) files.…
|
I wonder if we could pick a package in which to check for the |
|
Not a bad idea. So how would that work? We'd create a |
|
Something like that, yeah. |
patches #13682 to fix memory mapping of large files on Windows
… Fixes #13560