public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Cygwin: FIFO: add missing unlock
@ 2020-05-22 14:37 Ken Brown
0 siblings, 0 replies; only message in thread
From: Ken Brown @ 2020-05-22 14:37 UTC (permalink / raw)
To: cygwin-cvs
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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-05-22 14:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-22 14:37 [newlib-cygwin] Cygwin: FIFO: add missing unlock Ken Brown
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).