diff options
author | Ken Brown <kbrown@cornell.edu> | 2020-05-19 10:25:43 -0400 |
---|---|---|
committer | Ken Brown <kbrown@cornell.edu> | 2020-05-22 10:30:54 -0400 |
commit | bf07202e16f3b058e78d8afe74878cd828125e8a (patch) | |
tree | 1aed0c9a825ddee9116095f50e9da7ab52c3996c | |
parent | fe937e21ad6041fad12751d3e4867602e2737739 (diff) | |
download | newlib-bf07202e16f3b058e78d8afe74878cd828125e8a.zip newlib-bf07202e16f3b058e78d8afe74878cd828125e8a.tar.gz newlib-bf07202e16f3b058e78d8afe74878cd828125e8a.tar.bz2 |
Cygwin: FIFO: add missing unlock
There was a missing call to reader_opening_unlock on one of the error
exits in fhandler_fifo::open.
-rw-r--r-- | winsup/cygwin/fhandler_fifo.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/fhandler_fifo.cc b/winsup/cygwin/fhandler_fifo.cc index ab4b939..3d34cdf 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); |