trace: use binary file open mode in simpletrace
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Mon, 5 Sep 2011 17:31:21 +0000 (18:31 +0100)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Wed, 21 Sep 2011 10:30:10 +0000 (11:30 +0100)
commit6c2a40742602c3cbe6a3905229dd539d7c311550
treeaf0f2f640b92cdca33cce15d5418bd575ab440bc
parent85aff1586fe4a0dfc6eda2dfd6e79e78063f4fbb
trace: use binary file open mode in simpletrace

For Windows portability the simple trace backend must use the 'b' file
open mode.  This prevents the stdio library from mangling 0x0a/0x0d
newline characters.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
trace/simple.c