forked from boostorg/beast
Fix open append mode for file_win32
This commit is contained in:
@@ -175,7 +175,7 @@ open(char const* path, file_mode mode, error_code& ec)
|
||||
desired_access = boost::winapi::GENERIC_READ_ |
|
||||
boost::winapi::GENERIC_WRITE_;
|
||||
|
||||
creation_disposition = boost::winapi::CREATE_ALWAYS_;
|
||||
creation_disposition = boost::winapi::OPEN_ALWAYS_;
|
||||
flags_and_attributes = 0x08000000; // FILE_FLAG_SEQUENTIAL_SCAN
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user