diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2018-05-14 18:30:43 +0100 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2018-05-20 08:55:54 +0300 |
commit | f5bdd781316d2ba140323cb98392e44cac54017d (patch) | |
tree | ca78244d68e2b82b637c30fb9023b1a39b896e66 /libdecnumber | |
parent | d29eb678bcfbb2fbf4b79423797253ee02f5c6cf (diff) | |
download | qemu-f5bdd781316d2ba140323cb98392e44cac54017d.zip qemu-f5bdd781316d2ba140323cb98392e44cac54017d.tar.gz qemu-f5bdd781316d2ba140323cb98392e44cac54017d.tar.bz2 |
gdbstub: Use qemu_set_cloexec()
Use the utility routine qemu_set_cloexec() rather than
manually calling fcntl(). This lets us drop the #ifndef _WIN32
guards and also means Coverity doesn't complain that we're
ignoring the fcntl error return (CID 1005665, CID 1005667).
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'libdecnumber')
0 files changed, 0 insertions, 0 deletions