Fixed CreateFile() flags when opening log files.
authorIain Patterson <me@iain.cx>
Sat, 25 Jan 2014 11:22:11 +0000 (11:22 +0000)
committerIain Patterson <me@iain.cx>
Sat, 25 Jan 2014 21:57:25 +0000 (21:57 +0000)
commitba4831e5eb179e415282a957604f039bceb4804f
treea3805d32eee9225963860f6ad962f7f129fa82f4
parenteac4d7eedfe338703f0103aac01af2ca306f615a
Fixed CreateFile() flags when opening log files.

Opening a file with FILE_APPEND_DATA access is not appropriate when not
truncating existing files or opening new files.  Redirected I/O would be
buffered and output would not be immediately visible to readers.
io.cpp
io.h