JuliaLang/julia — pull request #758 by timholy (2012-04-24 18:29:53+00:00)
Title: Allow mmap constructor to grow file to the needed length.

My earlier version of mmaparray worked fine for reading memory-mapped files, but was insufficient for creating new files via a memory-mapping operation. This should address that shortcoming.

The code was also slightly reorganized, and given a different filename, to make it clearer that this can be used for memory-mapping things besides arrays.