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
path: root/winsup
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@pefoley.com>2016-03-19 20:45:54 +0300
committerCorinna Vinschen <corinna@vinschen.de>2016-03-20 14:19:35 +0300
commit0611132f045ee705ab8f85d0679aeacde0720f33 (patch)
tree5265e2f984ac15d323a2cbc2004fb87173115b7e /winsup
parent1eb7cb2553e5643395869814914ff0344ce5af51 (diff)
Fix typoed comparison
winsup/cygwin/ChangeLog * thread.cc (semaphore::open): Fix mistaken conditional. Signed-off-by: Peter Foley <pefoley2@pefoley.com>
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/thread.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/thread.cc b/winsup/cygwin/thread.cc
index 531d6a846..05757ac58 100644
--- a/winsup/cygwin/thread.cc
+++ b/winsup/cygwin/thread.cc
@@ -3746,7 +3746,7 @@ semaphore::open (unsigned long long hash, LUID luid, int fd, int oflag,
for (semaphore *sema = semaphores.head; sema; sema = sema->next)
if (sema->fd >= 0 && sema->hash == hash
&& sema->luid.HighPart == luid.HighPart
- && sema->luid.LowPart == sema->luid.LowPart)
+ && sema->luid.LowPart == luid.LowPart)
{
wasopen = true;
semaphores.mx.unlock ();