Boost logo

Boost-Commit :

From: technews_at_[hidden]
Date: 2008-07-02 20:17:55


Author: turkanis
Date: 2008-07-02 20:17:55 EDT (Wed, 02 Jul 2008)
New Revision: 47017
URL: http://svn.boost.org/trac/boost/changeset/47017

Log:
fixed copy-paste error when adapting large file support from file_descriptor.cpp
Text files modified:
   trunk/libs/iostreams/src/mapped_file.cpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/libs/iostreams/src/mapped_file.cpp
==============================================================================
--- trunk/libs/iostreams/src/mapped_file.cpp (original)
+++ trunk/libs/iostreams/src/mapped_file.cpp 2008-07-02 20:17:55 EDT (Wed, 02 Jul 2008)
@@ -262,7 +262,7 @@
     if (p.new_file_size != 0 && !readonly)
         flags |= (O_CREAT | O_TRUNC);
     #ifdef _LARGEFILE64_SOURCE
- oflag |= O_LARGEFILE;
+ flags |= O_LARGEFILE;
     #endif
     errno = 0;
     handle_ = ::open(p.path.c_str(), flags, S_IRWXU);


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk