From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9B4AC38618B9; Mon, 27 Nov 2023 20:14:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9B4AC38618B9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1701116056; bh=xt0r81KHCgw0qdTNzMD4PlW7+2gfXTDPm6klhHCoEsk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=OiH5Ul8JVxnxSpsw4XQ80bSuC+0a8+1McZRARpN5CBa5ZVfWDuzUa+NdaACc2rMnT p9DGmhlf8FG0BrAtN2LzQLmUZIgKpQnMiq2JPJE4/KPRE+Uo8ol3b6KDOUDgaUD0MQ OoPXlLzoMNpODKpPB+V+yUF43bRBxG1v6+BEEPKA= From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug remote/30770] serial.c does not preserve errno correctly Date: Mon, 27 Nov 2023 20:14:15 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: remote X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: tromey at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30770 --- Comment #5 from Sourceware Commits --- The master branch has been updated by Tom Tromey : https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D4dda9cc4b037= 88d1cf0416b39a3ab3780caf27fd commit 4dda9cc4b03788d1cf0416b39a3ab3780caf27fd Author: Tom Tromey Date: Fri Sep 1 11:04:58 2023 -0600 Fix latent bug in ser_windows_send_break The ClearCommBreak documentation says: If the function fails, the return value is zero. ser_windows_send_break inverts this check. This has never been noticed because the caller doesn't check the result. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30770 --=20 You are receiving this mail because: You are on the CC list for the bug.=