Files
libguestfs/lib
Pino Toscano d36940992e lib: qemu: improve handling of FILE*
Create own blocks for all the parts dealing with FILE*: this way there
is no need to recycle the same FILE* variable for all the operations,
and have each block its own variable automatically cleaned up.

This also fixes a potential undefined behaviour on error: POSIX says
that after a call fclose(), a FILE* cannot be used anymore, not even
on fclose() failure. The previous behaviour for fclose == -1 was to jump
to the error label, which would then try to call fclose() again (since
the FILE* pointer was still non-null).
2017-03-06 15:04:25 +01:00
..
2017-02-27 12:16:07 +00:00
2017-02-15 14:44:13 +01:00
2017-03-06 15:04:25 +01:00