Ticket #4194: file_descriptor_trunc.patch
File file_descriptor_trunc.patch, 454 bytes (added by , 12 years ago) |
---|
-
libs/iostreams/src/file_descriptor.cpp
172 172 oflag |= O_APPEND; 173 173 } 174 174 if (mode & BOOST_IOS::trunc) 175 oflag |= O_ CREAT;175 oflag |= O_TRUNC; 176 176 #ifdef _LARGEFILE64_SOURCE 177 177 oflag |= O_LARGEFILE; 178 178 #endif