Ticket #2063: mapped_file.patch
File mapped_file.patch, 500 bytes (added by , 14 years ago) |
---|
-
libs/iostreams/src/mapped_file.cpp
262 262 if (p.new_file_size != 0 && !readonly) 263 263 flags |= (O_CREAT | O_TRUNC); 264 264 #ifdef _LARGEFILE64_SOURCE 265 oflag|= O_LARGEFILE;265 flags |= O_LARGEFILE; 266 266 #endif 267 267 errno = 0; 268 268 handle_ = ::open(p.path.c_str(), flags, S_IRWXU);