Fix: don't close the metadata FD if a FP is passed
authorJulien Desfossez <jdesfossez@efficios.com>
Fri, 17 Aug 2012 11:57:53 +0000 (07:57 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 17 Aug 2012 11:57:53 +0000 (07:57 -0400)
commitbcbfb8bf88ea9afbecd8a79708939fb8b79e5734
tree18b65898c0d0347bd87a52e0ed2dddf15d776e98
parentf7ed656326285831256061407c2c533c16c50f36
Fix: don't close the metadata FD if a FP is passed

In ctf_open_trace_metadata_read if the metadata_fp is passed we must
not close the metadata_stream->pos.fd which is zero in this case.

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
formats/ctf/ctf.c
This page took 0.031263 seconds and 4 git commands to generate.