Windows: always open files in binary mode
authorBruce Cran <bcran@fusionio.com>
Mon, 28 Apr 2014 21:54:43 +0000 (15:54 -0600)
committerJens Axboe <axboe@fb.com>
Tue, 29 Apr 2014 00:10:43 +0000 (18:10 -0600)
On Windows, open() defaults to text mode, causing control characters
to be interpreted. Avoid this by passing the _O_BINARY flag.

Signed-off-by: Jens Axboe <axboe@fb.com>

No differences found