]> git.proxmox.com Git - mirror_qemu.git/commit - chardev/char-win.c
char-win: close file handle except with console
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 4 Jan 2017 20:34:42 +0000 (21:34 +0100)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Fri, 2 Jun 2017 07:33:52 +0000 (11:33 +0400)
commit541815ff7f54f45a60d058b1c499c4affff094e0
treea50d8c62275dca04fc30127199ac7a4b507faa70
parentef0f272f38e1e534dd05a5a611aa0eb15dc60cc1
char-win: close file handle except with console

Only the console handle shouldn't be closed, however, the "file" handle
should.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
chardev/char-console.c
chardev/char-file.c
chardev/char-win.c
chardev/char-win.h