Re: [PATCH v2 05/17] virfdstream: Use VIR_AUTOCLOSE()

2020-08-20 Thread Peter Krempa
On Tue, Jul 07, 2020 at 21:46:23 +0200, Michal Privoznik wrote: > Again, instead of closing FDs explicitly, we can automatically > close them when they go out of their respective scopes. > > Signed-off-by: Michal Privoznik > --- > src/util/virfdstream.c | 12 ++-- > 1 file changed, 6

[PATCH v2 05/17] virfdstream: Use VIR_AUTOCLOSE()

2020-07-07 Thread Michal Privoznik
Again, instead of closing FDs explicitly, we can automatically close them when they go out of their respective scopes. Signed-off-by: Michal Privoznik --- src/util/virfdstream.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/util/virfdstream.c