diff options
author | Christopher Faylor <me@cgf.cx> | 2003-01-05 06:48:55 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-01-05 06:48:55 +0000 |
commit | d21736b034a0bfdb47131b67bda62ae6f91d1f87 (patch) | |
tree | 942e95e0efb6b8972ee2c21f1613bb595728a1f0 | |
parent | ebd79f2fdef4f0b48e0a7f5a99a520b0ee2eba39 (diff) | |
download | newlib-github/unlabeled-1.107.12.zip newlib-github/unlabeled-1.107.12.tar.gz newlib-github/unlabeled-1.107.12.tar.bz2 |
* pinfo.cc (_pinfo::commune_send): Use myself->lock rather than just lock whengithub/unlabeled-1.107.12unlabeled-1.107.12
leaving.
-rw-r--r-- | winsup/cygwin/dtable.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/dtable.cc b/winsup/cygwin/dtable.cc index d995c7b..3b718f3 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; } |