JuliaLang/julia — pull request #8689 by tkelman (2014-10-15 06:49:45+00:00)
Title: fix #8678, reading large files on windows

read() on windows takes a uint, so apply a similar io limit per call
as done on mac (directly reusing the same code would give a compiler
warning, since long is 32 bits on windows)

@vtjnash, look ok? I was able to `read!` a 6 GB file with this change.