ctf: fix windows regression
authorMatthew Khouzam <matthew.khouzam@ericsson.com>
Tue, 19 May 2015 16:04:02 +0000 (12:04 -0400)
committerMatthew Khouzam <matthew.khouzam@ericsson.com>
Tue, 19 May 2015 18:04:30 +0000 (14:04 -0400)
commitb8db40834be81025ccafa5eedbb715b48cd6e93b
tree645ee3e26c2aa08c2a6f56b0c91a07cd7b2de0e7
parentd038a7f404fddab97973bc38f983c678e56f61a0
ctf: fix windows regression

In windows, the bitbuffer reads the filechannel. This advances the
position. It needs to be flip()ed to reset reading. This problem will
be obvious when we do CI in windows.

Change-Id: Id1cbf581c993038c54d8aa6fd3a62a77e17f17e3
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/48199
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
org.eclipse.tracecompass.ctf.core/src/org/eclipse/tracecompass/internal/ctf/core/SafeMappedByteBuffer.java
This page took 0.02589 seconds and 5 git commands to generate.