public inbox for cygwin-cvs@sourceware.org help / color / mirror / Atom feed
From: Ken Brown <kbrown@sourceware.org> To: cygwin-cvs@sourceware.org Subject: [newlib-cygwin] Cygwin: FIFO: add missing unlock Date: Fri, 22 May 2020 14:37:38 +0000 (GMT) [thread overview] Message-ID: <20200522143738.A7E4B3851C0C@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=bf07202e16f3b058e78d8afe74878cd828125e8a commit bf07202e16f3b058e78d8afe74878cd828125e8a Author: Ken Brown <kbrown@cornell.edu> Date: Tue May 19 10:25:43 2020 -0400 Cygwin: FIFO: add missing unlock There was a missing call to reader_opening_unlock on one of the error exits in fhandler_fifo::open. Diff: --- winsup/cygwin/fhandler_fifo.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/winsup/cygwin/fhandler_fifo.cc b/winsup/cygwin/fhandler_fifo.cc index ab4b93942..3d34cdfab 100644 --- a/winsup/cygwin/fhandler_fifo.cc +++ b/winsup/cygwin/fhandler_fifo.cc @@ -1020,6 +1020,7 @@ err_close_reader: saved_errno = get_errno (); close (); set_errno (saved_errno); + reader_opening_unlock (); return 0; err_close_cancel_evt: NtClose (cancel_evt);
reply other threads:[~2020-05-22 14:37 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20200522143738.A7E4B3851C0C@sourceware.org \ --to=kbrown@sourceware.org \ --cc=cygwin-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).