public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Cygwin: FIFO: fix a thinko in listen_client_thread
@ 2019-04-16 11:15 Corinna Vinschen
0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2019-04-16 11:15 UTC (permalink / raw)
To: cygwin-cvs
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=0c72e766e2bd4b504030a502c0c46e41d268e052
commit 0c72e766e2bd4b504030a502c0c46e41d268e052
Author: Ken Brown <kbrown@cornell.edu>
Date: Sun Apr 14 19:15:58 2019 +0000
Cygwin: FIFO: fix a thinko in listen_client_thread
Diff:
---
winsup/cygwin/fhandler_fifo.cc | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/winsup/cygwin/fhandler_fifo.cc b/winsup/cygwin/fhandler_fifo.cc
index 258c3cf..764420f 100644
--- a/winsup/cygwin/fhandler_fifo.cc
+++ b/winsup/cygwin/fhandler_fifo.cc
@@ -362,7 +362,10 @@ fhandler_fifo::listen_client_thread ()
fifo_client_unlock ();
goto errout;
}
- /* Fall through. */
+ else
+ /* Recheck fc_handler[i].state. */
+ i--;
+ break;
case fc_connected:
w[i] = fc_handler[i].dummy_evt;
break;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-04-16 11:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-16 11:15 [newlib-cygwin] Cygwin: FIFO: fix a thinko in listen_client_thread Corinna Vinschen
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).