On Sat, Oct 17, 2026 at 01:09:09AM +0200, Filip Hejsek wrote: > A channel closes its fd when the last reference to it is dropped. > Closing stdio fds is typically unwanted, so warn when they are passed to > qio_channel_file_new_fd(). > > Change the documentation of qio_channel_file_new_fd() to explicitly say > that passing stdio descriptors is incorrect. > > Signed-off-by: Filip Hejsek <[email protected]> > --- > include/io/channel-file.h | 12 ++++++++---- > io/channel-file.c | 6 ++++++ > 2 files changed, 14 insertions(+), 4 deletions(-)
Reviewed-by: Daniel P. Berrangé <[email protected]> With regards, Daniel -- |: https://berrange.com ~~ https://hachyderm.io/@berrange :| |: https://libvirt.org ~~ https://entangle-photo.org :| |: https://pixelfed.art/berrange ~~ https://fstop138.berrange.com :|
