Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-01-05 09:48:55 +0300
committerChristopher Faylor <me@cgf.cx>2003-01-05 09:48:55 +0300
commitd21736b034a0bfdb47131b67bda62ae6f91d1f87 (patch)
tree942e95e0efb6b8972ee2c21f1613bb595728a1f0
parentebd79f2fdef4f0b48e0a7f5a99a520b0ee2eba39 (diff)
* pinfo.cc (_pinfo::commune_send): Use myself->lock rather than just lock whenunlabeled-1.107.12
leaving.
-rw-r--r--winsup/cygwin/dtable.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/dtable.cc b/winsup/cygwin/dtable.cc
index d995c7b8a..3b718f313 100644
--- a/winsup/cygwin/dtable.cc
+++ b/winsup/cygwin/dtable.cc
@@ -562,7 +562,7 @@ dtable::find_fifo (ATOM hill)
SetResourceLock (LOCK_FD_LIST, READ_LOCK, "dup");
for (unsigned i = 0; i < size; i++)
{
- fhandler_base *fh = fds[0];
+ fhandler_base *fh = fds[i];
if (fh && fh->isfifo () && ((fhandler_fifo *) fh)->get_atom () == hill)
return (fhandler_fifo *) fh;
}