Re: [PATCH v5 2/8] util: split off a helper for dealing with O_CLOEXEC flag

2020-09-03 Thread Markus Armbruster
Daniel P. Berrangé writes: > We're going to have multiple callers to open() from qemu_open() > soon. Readability would thus benefit from having a helper for > dealing with O_CLOEXEC. > > Signed-off-by: Daniel P. Berrangé Reviewed-by: Markus Armbruster

[PATCH v5 2/8] util: split off a helper for dealing with O_CLOEXEC flag

2020-09-02 Thread Daniel P . Berrangé
We're going to have multiple callers to open() from qemu_open() soon. Readability would thus benefit from having a helper for dealing with O_CLOEXEC. Signed-off-by: Daniel P. Berrangé --- util/osdep.c | 23 +++ 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/ut