From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59944) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fISQJ-0005cN-Qj for qemu-devel@nongnu.org; Tue, 15 May 2018 01:22:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fISQF-0001yC-T7 for qemu-devel@nongnu.org; Tue, 15 May 2018 01:22:55 -0400 References: <20180514173044.5025-1-peter.maydell@linaro.org> <20180514173044.5025-2-peter.maydell@linaro.org> From: Thomas Huth Message-ID: <716c53cb-89f6-088e-a5f1-47a6c5f740a7@redhat.com> Date: Tue, 15 May 2018 07:22:48 +0200 MIME-Version: 1.0 In-Reply-To: <20180514173044.5025-2-peter.maydell@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 1/2] gdbstub: Use qemu_set_cloexec() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , qemu-devel@nongnu.org, qemu-trivial@nongnu.org Cc: patches@linaro.org On 14.05.2018 19:30, Peter Maydell wrote: > 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 > --- > gdbstub.c | 8 ++------ > 1 file changed, 2 insertions(+), 6 deletions(-) Reviewed-by: Thomas Huth