commit | 4dda9cc4b03788d1cf0416b39a3ab3780caf27fd | [log] [tgz] |
---|---|---|
author | Tom Tromey <tromey@adacore.com> | Fri Sep 01 11:04:58 2023 -0600 |
committer | Tom Tromey <tromey@adacore.com> | Mon Nov 27 12:55:14 2023 -0700 |
tree | fb451490273515f22bd1f2f2ec85d82493124fd5 | |
parent | c618a1c548193d2a6a8c3d909a3d1c620a156b5d [diff] |
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=30770