@@ -190,8 +190,9 @@ Specifying `skipstart` will ignore the corresponding number of initial lines fro
190
190
If `skipblanks` is `true`, blank lines in the input will be ignored.
191
191
192
192
If `use_mmap` is `true`, the file specified by `source` is memory mapped for potential
193
- speedups. Default is `true` except on Windows. On Windows, you may want to specify `true` if
194
- the file is large, and is only read once and not written to.
193
+ speedups if the file is large. Default is `false'. On a Windows filesystem, `use_mmap` should not be set
194
+ to `true` unless the file is only read once and is also not written to.
195
+ Some edge cases exist where an OS is Unix-like but the filesystem is Windows-like.
195
196
196
197
If `quotes` is `true`, columns enclosed within double-quote (\" ) characters are allowed to
197
198
contain new lines and column delimiters. Double-quote characters within a quoted field must
@@ -232,7 +233,7 @@ readdlm_auto(input::IO, dlm::AbstractChar, T::Type, eol::AbstractChar, auto::Boo
232
233
function readdlm_auto (input:: AbstractString , dlm:: AbstractChar , T:: Type , eol:: AbstractChar , auto:: Bool ; opts... )
233
234
isfile (input) || throw (ArgumentError (" Cannot open \' $input \' : not a file" ))
234
235
optsd = val_opts (opts)
235
- use_mmap = get (optsd, :use_mmap , Sys . iswindows () ? false : true )
236
+ use_mmap = get (optsd, :use_mmap , false )
236
237
fsz = filesize (input)
237
238
if use_mmap && fsz > 0 && fsz < typemax (Int)
238
239
a = open (input, " r" ) do f
0 commit comments