summaryrefslogtreecommitdiffstats
path: root/tests/qapi-schema/trailing-comma-list.err
diff options
context:
space:
mode:
authorMarc-André Lureau2019-11-08 14:31:43 +0100
committerMarc-André Lureau2020-01-02 13:29:32 +0100
commitc5f2bce5ee75ec3267b025f2053bac728da9a6c3 (patch)
treeb721e4e5bdd337a8aafa104f43a9a324343fb53b /tests/qapi-schema/trailing-comma-list.err
parentobject: add g_autoptr support (diff)
downloadqemu-c5f2bce5ee75ec3267b025f2053bac728da9a6c3.tar.gz
qemu-c5f2bce5ee75ec3267b025f2053bac728da9a6c3.tar.xz
qemu-c5f2bce5ee75ec3267b025f2053bac728da9a6c3.zip
screendump: replace FILE with QIOChannel and fix close()/qemu_close()
The file opened for ppm_save() may be a /dev/fdset, in which case a dup fd is added to the fdset. It should be removed by calling qemu_close(), instead of the implicit close() on fclose(). I don't see a convenient way to solve that with stdio streams, so I switched the code to QIOChannel which uses qemu_close(). Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'tests/qapi-schema/trailing-comma-list.err')
0 files changed, 0 insertions, 0 deletions