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)
commit8ea967bc46fe81360f1dffe8e46462734ea49cd5
treeaf0f2f640b92cdca33cce15d5418bd575ab440bc
parentee432f3d3052e67f5a62a9eb6ea937c2f72215bb
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