xemu/io
Daniel P. Berrange e155494cf0 io: some fixes to handling of /dev/null when running commands
The /dev/null file handle was leaked in a couple of places.
There is also the possibility that both readfd and writefd
point to the same /dev/null file handle, so care must be
taken not to close the same file handle twice.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2016-01-20 11:30:56 +00:00
..
Makefile.objs io: add QIOChannelBuffer class 2015-12-18 12:18:31 +00:00
channel-buffer.c io: add QIOChannelBuffer class 2015-12-18 12:18:31 +00:00
channel-command.c io: some fixes to handling of /dev/null when running commands 2016-01-20 11:30:56 +00:00
channel-file.c io: add QIOChannelFile class 2015-12-18 12:18:31 +00:00
channel-socket.c io: fix sign of errno value passed to error report 2016-01-19 14:03:27 +00:00
channel-tls.c io: add QIOChannelTLS class 2015-12-18 12:18:31 +00:00
channel-watch.c io: add helper module for creating watches on FDs 2015-12-18 12:18:05 +00:00
channel-websock.c io: add QIOChannelWebsock class 2015-12-18 12:18:31 +00:00
channel.c io: add abstract QIOChannel classes 2015-12-18 12:18:05 +00:00
task.c io: add QIOTask class for async operations 2015-12-18 12:18:30 +00:00