projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from:
9c0f3f3
)
Windows: always open files in binary mode
author
Bruce Cran
<bcran@fusionio.com>
Mon, 28 Apr 2014 21:54:43 +0000
(15:54 -0600)
committer
Jens 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